| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final Cfgmgr32 | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.Caller-supplied pointer to the device instance handle to the
child node that this function retrieves. The retrieved handle
is bound to the local machine. pdnDevInst, int Caller-supplied device instance handle that is bound to the
local machine. dnDevInst, int Not used, must be zero. ulFlags)The CM_Get_Child function is used to retrieve a device instance handle to the first child node of a specified device node (devnode) in the local machine's device tree. |
| public int | Returns: If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.Caller-supplied device instance handle that is bound to the
local machine. devInst, Pointer Address of a buffer to receive a device instance ID string.
The required buffer size can be obtained by calling
CM_Get_Device_ID_Size, then incrementing the received value to
allow room for the string's terminating NULL. Buffer, int Caller-supplied length, in characters, of the buffer specified
by Buffer. BufferLen, int Not used, must be zero. ulFlags)The CM_Get_Device_ID function retrieves the device instance ID for a specified device instance on the local machine. |
| public int | Returns: If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.Receives a value representing the required buffer size, in
characters. pulLen, int Caller-supplied device instance handle that is bound to the
local machine. dnDevInst, int Not used, must be zero. ulFlags)The CM_Get_Device_ID_Size function retrieves the buffer size required to hold a device instance ID for a device instance on the local machine. |
| public int | Returns: If the operation succeeds, the function returnsCR_SUCCESS.
Otherwise, it returns one of the CR_-prefixed error codes
that are defined in Cfgmgr32.h.A caller-supplied device instance handle that is bound to the
local machine. dnDevInst, int A ulProperty, IntByReference CM_DRP_-prefixed constant value that identifies the
device property to be obtained from the registry. These constants
are defined in Cfgmgr32.h.Optional, can be pulRegDataType, Pointer null. A pointer to a location that
receives the registry data type, specified as a
REG_-prefixed constant defined in Winnt.h.Optional, can be buffer, IntByReference null. A pointer to a caller-supplied
buffer that receives the requested device property. If this value
is null, the function supplies only the length of the
requested data in the address pointed to by pulLength.A pointer to a pulLength, int ULONG variable into which the function
stores the length, in bytes, of the requested device property.
If the Buffer parameter is set to
If the Buffer parameter is not set to Not used, must be zero. ulFlags)The CM_Get_DevNode_Registry_Property function retrieves a specified device property from the registry. |
| public int | Returns: If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.Caller-supplied pointer to the device instance handle to the
parent node that this function retrieves. The retrieved handle
is bound to the local machine. pdnDevInst, int Caller-supplied device instance handle that is bound to the
local machine. dnDevInst, int Not used, must be zero. ulFlags)The CM_Get_Parent function obtains a device instance handle to the parent node of a specified device node (devnode) in the local machine's device tree. |
| public int | Returns: If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.Caller-supplied pointer to the device instance handle to the
sibling node that this function retrieves. The retrieved
handle is bound to the local machine. pdnDevInst, int Caller-supplied device instance handle that is bound to the
local machine. dnDevInst, int Not used, must be zero. ulFlags)The CM_Get_Sibling function obtains a device instance handle to the next sibling node of a specified device node (devnode) in the local machine's device tree. |
| public int | Returns: If the operation succeeds, CM_Locate_DevNode returns CR_SUCCESS. Otherwise, the function returns one of the CR_Xxx error codes that are defined in Cfgmgr32.h.A pointer to a device instance handle that CM_Locate_DevNode
retrieves. The retrieved handle is bound to the local machine. pdnDevInst, String A pointer to a NULL-terminated string representing a device
instance ID. If this value is NULL, or if it points to a
zero-length string, the function retrieves a device instance
handle to the device at the root of the device tree. * pDeviceID, int A variable of ULONG type that supplies one of the following
flag values that apply if the caller supplies a device
instance identifier: CM_LOCATE_DEVNODE_NORMAL,
CM_LOCATE_DEVNODE_PHANTOM, CM_LOCATE_DEVNODE_CANCELREMOVE, or
CM_LOCATE_DEVNODE_NOVALIDATION ulFlags)The CM_Locate_DevNode function obtains a device instance handle to the device node that is associated with a specified device instance ID on the local machine. |
| CM_DRP_ADDRESS | back to summary |
|---|---|
| public static final int CM_DRP_ADDRESS | |
| CM_DRP_BASE_CONTAINERID | back to summary |
|---|---|
| public static final int CM_DRP_BASE_CONTAINERID | |
| CM_DRP_BUSNUMBER | back to summary |
|---|---|
| public static final int CM_DRP_BUSNUMBER | |
| CM_DRP_BUSTYPEGUID | back to summary |
|---|---|
| public static final int CM_DRP_BUSTYPEGUID | |
| CM_DRP_CAPABILITIES | back to summary |
|---|---|
| public static final int CM_DRP_CAPABILITIES | |
| CM_DRP_CHARACTERISTICS | back to summary |
|---|---|
| public static final int CM_DRP_CHARACTERISTICS | |
| CM_DRP_CLASS | back to summary |
|---|---|
| public static final int CM_DRP_CLASS | |
| CM_DRP_CLASSGUID | back to summary |
|---|---|
| public static final int CM_DRP_CLASSGUID | |
| CM_DRP_COMPATIBLEIDS | back to summary |
|---|---|
| public static final int CM_DRP_COMPATIBLEIDS | |
| CM_DRP_CONFIGFLAGS | back to summary |
|---|---|
| public static final int CM_DRP_CONFIGFLAGS | |
| CM_DRP_DEVICE_POWER_DATA | back to summary |
|---|---|
| public static final int CM_DRP_DEVICE_POWER_DATA | |
| CM_DRP_DEVICEDESC | back to summary |
|---|---|
| public static final int CM_DRP_DEVICEDESC | |
| CM_DRP_DEVTYPE | back to summary |
|---|---|
| public static final int CM_DRP_DEVTYPE | |
| CM_DRP_DRIVER | back to summary |
|---|---|
| public static final int CM_DRP_DRIVER | |
| CM_DRP_ENUMERATOR_NAME | back to summary |
|---|---|
| public static final int CM_DRP_ENUMERATOR_NAME | |
| CM_DRP_EXCLUSIVE | back to summary |
|---|---|
| public static final int CM_DRP_EXCLUSIVE | |
| CM_DRP_FRIENDLYNAME | back to summary |
|---|---|
| public static final int CM_DRP_FRIENDLYNAME | |
| CM_DRP_HARDWAREID | back to summary |
|---|---|
| public static final int CM_DRP_HARDWAREID | |
| CM_DRP_INSTALL_STATE | back to summary |
|---|---|
| public static final int CM_DRP_INSTALL_STATE | |
| CM_DRP_LEGACYBUSTYPE | back to summary |
|---|---|
| public static final int CM_DRP_LEGACYBUSTYPE | |
| CM_DRP_LOCATION_INFORMATION | back to summary |
|---|---|
| public static final int CM_DRP_LOCATION_INFORMATION | |
| CM_DRP_LOCATION_PATHS | back to summary |
|---|---|
| public static final int CM_DRP_LOCATION_PATHS | |
| CM_DRP_LOWERFILTERS | back to summary |
|---|---|
| public static final int CM_DRP_LOWERFILTERS | |
| CM_DRP_MFG | back to summary |
|---|---|
| public static final int CM_DRP_MFG | |
| CM_DRP_PHYSICAL_DEVICE_OBJECT_NAME | back to summary |
|---|---|
| public static final int CM_DRP_PHYSICAL_DEVICE_OBJECT_NAME | |
| CM_DRP_REMOVAL_POLICY | back to summary |
|---|---|
| public static final int CM_DRP_REMOVAL_POLICY | |
| CM_DRP_REMOVAL_POLICY_HW_DEFAULT | back to summary |
|---|---|
| public static final int CM_DRP_REMOVAL_POLICY_HW_DEFAULT | |
| CM_DRP_REMOVAL_POLICY_OVERRIDE | back to summary |
|---|---|
| public static final int CM_DRP_REMOVAL_POLICY_OVERRIDE | |
| CM_DRP_SECURITY | back to summary |
|---|---|
| public static final int CM_DRP_SECURITY | |
| CM_DRP_SECURITY_SDS | back to summary |
|---|---|
| public static final int CM_DRP_SECURITY_SDS | |
| CM_DRP_SERVICE | back to summary |
|---|---|
| public static final int CM_DRP_SERVICE | |
| CM_DRP_UI_NUMBER | back to summary |
|---|---|
| public static final int CM_DRP_UI_NUMBER | |
| CM_DRP_UI_NUMBER_DESC_FORMAT | back to summary |
|---|---|
| public static final int CM_DRP_UI_NUMBER_DESC_FORMAT | |
| CM_DRP_UPPERFILTERS | back to summary |
|---|---|
| public static final int CM_DRP_UPPERFILTERS | |
| CM_LOCATE_DEVNODE_BITS | back to summary |
|---|---|
| public static final int CM_LOCATE_DEVNODE_BITS | |
| CM_LOCATE_DEVNODE_CANCELREMOVE | back to summary |
|---|---|
| public static final int CM_LOCATE_DEVNODE_CANCELREMOVE | |
| CM_LOCATE_DEVNODE_NORMAL | back to summary |
|---|---|
| public static final int CM_LOCATE_DEVNODE_NORMAL | |
| CM_LOCATE_DEVNODE_NOVALIDATION | back to summary |
|---|---|
| public static final int CM_LOCATE_DEVNODE_NOVALIDATION | |
| CM_LOCATE_DEVNODE_PHANTOM | back to summary |
|---|---|
| public static final int CM_LOCATE_DEVNODE_PHANTOM | |
| CR_ACCESS_DENIED | back to summary |
|---|---|
| public static final int CR_ACCESS_DENIED | |
| CR_ALREADY_SUCH_DEVINST | back to summary |
|---|---|
| public static final int CR_ALREADY_SUCH_DEVINST | |
| CR_ALREADY_SUCH_DEVNODE | back to summary |
|---|---|
| public static final int CR_ALREADY_SUCH_DEVNODE | |
| CR_APM_VETOED | back to summary |
|---|---|
| public static final int CR_APM_VETOED | |
| CR_BUFFER_SMALL | back to summary |
|---|---|
| public static final int CR_BUFFER_SMALL | |
| CR_CALL_NOT_IMPLEMENTED | back to summary |
|---|---|
| public static final int CR_CALL_NOT_IMPLEMENTED | |
| CR_CANT_SHARE_IRQ | back to summary |
|---|---|
| public static final int CR_CANT_SHARE_IRQ | |
| CR_CREATE_BLOCKED | back to summary |
|---|---|
| public static final int CR_CREATE_BLOCKED | |
| CR_DEFAULT | back to summary |
|---|---|
| public static final int CR_DEFAULT | |
| CR_DEVICE_INTERFACE_ACTIVE | back to summary |
|---|---|
| public static final int CR_DEVICE_INTERFACE_ACTIVE | |
| CR_DEVICE_NOT_THERE | back to summary |
|---|---|
| public static final int CR_DEVICE_NOT_THERE | |
| CR_DEVINST_HAS_REQS | back to summary |
|---|---|
| public static final int CR_DEVINST_HAS_REQS | |
| CR_DEVLOADER_NOT_READY | back to summary |
|---|---|
| public static final int CR_DEVLOADER_NOT_READY | |
| CR_DEVNODE_HAS_REQS | back to summary |
|---|---|
| public static final int CR_DEVNODE_HAS_REQS | |
| CR_DLVXD_NOT_FOUND | back to summary |
|---|---|
| public static final int CR_DLVXD_NOT_FOUND | |
| CR_FAILURE | back to summary |
|---|---|
| public static final int CR_FAILURE | |
| CR_FREE_RESOURCES | back to summary |
|---|---|
| public static final int CR_FREE_RESOURCES | |
| CR_INVALID_API | back to summary |
|---|---|
| public static final int CR_INVALID_API | |
| CR_INVALID_ARBITRATOR | back to summary |
|---|---|
| public static final int CR_INVALID_ARBITRATOR | |
| CR_INVALID_CONFLICT_LIST | back to summary |
|---|---|
| public static final int CR_INVALID_CONFLICT_LIST | |
| CR_INVALID_DATA | back to summary |
|---|---|
| public static final int CR_INVALID_DATA | |
| CR_INVALID_DEVICE_ID | back to summary |
|---|---|
| public static final int CR_INVALID_DEVICE_ID | |
| CR_INVALID_DEVINST | back to summary |
|---|---|
| public static final int CR_INVALID_DEVINST | |
| CR_INVALID_DEVNODE | back to summary |
|---|---|
| public static final int CR_INVALID_DEVNODE | |
| CR_INVALID_FLAG | back to summary |
|---|---|
| public static final int CR_INVALID_FLAG | |
| CR_INVALID_INDEX | back to summary |
|---|---|
| public static final int CR_INVALID_INDEX | |
| CR_INVALID_LOAD_TYPE | back to summary |
|---|---|
| public static final int CR_INVALID_LOAD_TYPE | |
| CR_INVALID_LOG_CONF | back to summary |
|---|---|
| public static final int CR_INVALID_LOG_CONF | |
| CR_INVALID_MACHINENAME | back to summary |
|---|---|
| public static final int CR_INVALID_MACHINENAME | |
| CR_INVALID_NODELIST | back to summary |
|---|---|
| public static final int CR_INVALID_NODELIST | |
| CR_INVALID_POINTER | back to summary |
|---|---|
| public static final int CR_INVALID_POINTER | |
| CR_INVALID_PRIORITY | back to summary |
|---|---|
| public static final int CR_INVALID_PRIORITY | |
| CR_INVALID_PROPERTY | back to summary |
|---|---|
| public static final int CR_INVALID_PROPERTY | |
| CR_INVALID_RANGE | back to summary |
|---|---|
| public static final int CR_INVALID_RANGE | |
| CR_INVALID_RANGE_LIST | back to summary |
|---|---|
| public static final int CR_INVALID_RANGE_LIST | |
| CR_INVALID_REFERENCE_STRING | back to summary |
|---|---|
| public static final int CR_INVALID_REFERENCE_STRING | |
| CR_INVALID_RES_DES | back to summary |
|---|---|
| public static final int CR_INVALID_RES_DES | |
| CR_INVALID_RESOURCEID | back to summary |
|---|---|
| public static final int CR_INVALID_RESOURCEID | |
| CR_INVALID_STRUCTURE_SIZE | back to summary |
|---|---|
| public static final int CR_INVALID_STRUCTURE_SIZE | |
| CR_MACHINE_UNAVAILABLE | back to summary |
|---|---|
| public static final int CR_MACHINE_UNAVAILABLE | |
| CR_NEED_RESTART | back to summary |
|---|---|
| public static final int CR_NEED_RESTART | |
| CR_NO_ARBITRATOR | back to summary |
|---|---|
| public static final int CR_NO_ARBITRATOR | |
| CR_NO_CM_SERVICES | back to summary |
|---|---|
| public static final int CR_NO_CM_SERVICES | |
| CR_NO_DEPENDENT | back to summary |
|---|---|
| public static final int CR_NO_DEPENDENT | |
| CR_NO_MORE_HW_PROFILES | back to summary |
|---|---|
| public static final int CR_NO_MORE_HW_PROFILES | |
| CR_NO_MORE_LOG_CONF | back to summary |
|---|---|
| public static final int CR_NO_MORE_LOG_CONF | |
| CR_NO_MORE_RES_DES | back to summary |
|---|---|
| public static final int CR_NO_MORE_RES_DES | |
| CR_NO_REGISTRY_HANDLE | back to summary |
|---|---|
| public static final int CR_NO_REGISTRY_HANDLE | |
| CR_NO_SUCH_DEVICE_INTERFACE | back to summary |
|---|---|
| public static final int CR_NO_SUCH_DEVICE_INTERFACE | |
| CR_NO_SUCH_DEVINST | back to summary |
|---|---|
| public static final int CR_NO_SUCH_DEVINST | |
| CR_NO_SUCH_DEVNODE | back to summary |
|---|---|
| public static final int CR_NO_SUCH_DEVNODE | |
| CR_NO_SUCH_LOGICAL_DEV | back to summary |
|---|---|
| public static final int CR_NO_SUCH_LOGICAL_DEV | |
| CR_NO_SUCH_REGISTRY_KEY | back to summary |
|---|---|
| public static final int CR_NO_SUCH_REGISTRY_KEY | |
| CR_NO_SUCH_VALUE | back to summary |
|---|---|
| public static final int CR_NO_SUCH_VALUE | |
| CR_NOT_DISABLEABLE | back to summary |
|---|---|
| public static final int CR_NOT_DISABLEABLE | |
| CR_NOT_SYSTEM_VM | back to summary |
|---|---|
| public static final int CR_NOT_SYSTEM_VM | |
| CR_OUT_OF_MEMORY | back to summary |
|---|---|
| public static final int CR_OUT_OF_MEMORY | |
| CR_QUERY_VETOED | back to summary |
|---|---|
| public static final int CR_QUERY_VETOED | |
| CR_REGISTRY_ERROR | back to summary |
|---|---|
| public static final int CR_REGISTRY_ERROR | |
| CR_REMOTE_COMM_FAILURE | back to summary |
|---|---|
| public static final int CR_REMOTE_COMM_FAILURE | |
| CR_REMOVE_VETOED | back to summary |
|---|---|
| public static final int CR_REMOVE_VETOED | |
| CR_SAME_RESOURCES | back to summary |
|---|---|
| public static final int CR_SAME_RESOURCES | |
| CR_SUCCESS | back to summary |
|---|---|
| public static final int CR_SUCCESS | |
| CR_WRONG_TYPE | back to summary |
|---|---|
| public static final int CR_WRONG_TYPE | |
| INSTANCE | back to summary |
|---|---|
| public static final Cfgmgr32 INSTANCE | |
| NUM_CR_RESULTS | back to summary |
|---|---|
| public static final int NUM_CR_RESULTS | |
| CM_Get_Child | back to summary |
|---|---|
| public int CM_Get_Child(IntByReference pdnDevInst, int dnDevInst, int ulFlags) The CM_Get_Child function is used to retrieve a device instance handle to the first child node of a specified device node (devnode) in the local machine's device tree.
| |
| CM_Get_Device_ID | back to summary |
|---|---|
| public int CM_Get_Device_ID(int devInst, Pointer Buffer, int BufferLen, int ulFlags) The CM_Get_Device_ID function retrieves the device instance ID for a specified device instance on the local machine.
| |
| CM_Get_Device_ID_Size | back to summary |
|---|---|
| public int CM_Get_Device_ID_Size(IntByReference pulLen, int dnDevInst, int ulFlags) The CM_Get_Device_ID_Size function retrieves the buffer size required to hold a device instance ID for a device instance on the local machine.
| |
| CM_Get_DevNode_Registry_Property | back to summary |
|---|---|
| public int CM_Get_DevNode_Registry_Property(int dnDevInst, int ulProperty, IntByReference pulRegDataType, Pointer buffer, IntByReference pulLength, int ulFlags) The CM_Get_DevNode_Registry_Property function retrieves a specified device property from the registry.
| |
| CM_Get_Parent | back to summary |
|---|---|
| public int CM_Get_Parent(IntByReference pdnDevInst, int dnDevInst, int ulFlags) The CM_Get_Parent function obtains a device instance handle to the parent node of a specified device node (devnode) in the local machine's device tree.
| |
| CM_Get_Sibling | back to summary |
|---|---|
| public int CM_Get_Sibling(IntByReference pdnDevInst, int dnDevInst, int ulFlags) The CM_Get_Sibling function obtains a device instance handle to the next sibling node of a specified device node (devnode) in the local machine's device tree.
| |
| CM_Locate_DevNode | back to summary |
|---|---|
| public int CM_Locate_DevNode(IntByReference pdnDevInst, String pDeviceID, int ulFlags) The CM_Locate_DevNode function obtains a device instance handle to the device node that is associated with a specified device instance ID on the local machine.
| |