Device Function

Is Initialized

dev_IsInitialized()

Predicate to determine if the device library has been initialized.

Syntax
#include "device.h"

LBoolean  dev_IsInitialized
    (
          void
    );
Description

dev_IsInitialized() returns TRUE if the last call to dev_Initialize() was successful.

Return Values

dev_IsInitialized() returns a non-zero value if the library is initialized, zero otherwise.

See Also

dev_Initialize()
dev_Uninitialized()

Example
if (!dev_IsInitialized())
{
    if (result = dev_Initialize(NULL) < 0)
    {
        LOG("Failure initializing with the default database.");
    }
}