Package com.sun.jna.platform.win32
Class Cfgmgr32Util
java.lang.Object
com.sun.jna.platform.win32.Cfgmgr32Util
Cfgmgr32 utility API.
- Author:
- widdis[at]gmail[dot]com
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
CM_Get_Device_ID
(int devInst) Utility method to call Cfgmgr32's CM_Get_Device_ID that 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.
-
Constructor Details
-
Cfgmgr32Util
public Cfgmgr32Util()
-
-
Method Details
-
CM_Get_Device_ID
Utility method to call Cfgmgr32's CM_Get_Device_ID that 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.- Parameters:
devInst
- Caller-supplied device instance handle that is bound to the local machine.- Returns:
- The device instance ID string.
- Throws:
Cfgmgr32Util.Cfgmgr32Exception
-