| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: The device instance ID string.Caller-supplied device instance handle that is bound to the local
machine. devInst)Utility method to call Cfgmgr32's CM_Get_Device_ID_Size, allocates the required memory for the Buffer parameter based on the type mapping used, calls to CM_Get_Device_ID, and returns the received string. |
| public static Object | Returns: AnObject containing the specified registry property for the
device.
If the property is of type
If the property is of type
If the property is of type
If the property is of type
If no value exists for this property (error
Caller-supplied device instance handle that is bound to the local
machine. devInst, int A ulProperty)CM_DRP_-prefixed constant value that identifies the
device property to be obtained from the registry. These constants
are defined in Cfgmgr32.h.Utility method to call Cfgmgr32's CM_Get_DevNode_Registry_Property that allocates the required memory for the Buffer parameter, and returns values of the appropriate type. |
| Cfgmgr32Util | back to summary |
|---|---|
| public Cfgmgr32Util() | |
| CM_Get_Device_ID | back to summary |
|---|---|
| public static String CM_Get_Device_ID(int devInst) throws Cfgmgr32Exception Utility method to call Cfgmgr32's CM_Get_Device_ID_Size, allocates the required memory for the Buffer parameter based on the type mapping used, calls to CM_Get_Device_ID, and returns the received string.
| |
| CM_Get_DevNode_Registry_Property | back to summary |
|---|---|
| public static Object CM_Get_DevNode_Registry_Property(int devInst, int ulProperty) throws Cfgmgr32Exception Utility method to call Cfgmgr32's CM_Get_DevNode_Registry_Property that allocates the required memory for the Buffer parameter, and returns values of the appropriate type.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String |
| errorCode | back to summary |
|---|---|
| private final int errorCode | |
| Cfgmgr32Exception | back to summary |
|---|---|
| public Cfgmgr32Exception(int errorCode) | |
| getErrorCode | back to summary |
|---|---|
| public int getErrorCode() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a short description of this throwable. The result is the concatenation of:
getLocalizedMessage returns null, then just
the class name is returned.
| |