Package com.sun.jna.platform.win32
Schnittstelle Cfgmgr32
- Alle Superschnittstellen:
Library
Windows Cfgmgr32.
- Autor:
- widdis[at]gmail[dot]com
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Library
Library.Handler
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final Cfgmgr32
static final int
Von Schnittstelle geerbte Felder com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
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.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.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.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.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.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.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.
-
Felddetails
-
INSTANCE
-
CR_SUCCESS
static final int CR_SUCCESS- Siehe auch:
-
CR_DEFAULT
static final int CR_DEFAULT- Siehe auch:
-
CR_OUT_OF_MEMORY
static final int CR_OUT_OF_MEMORY- Siehe auch:
-
CR_INVALID_POINTER
static final int CR_INVALID_POINTER- Siehe auch:
-
CR_INVALID_FLAG
static final int CR_INVALID_FLAG- Siehe auch:
-
CR_INVALID_DEVNODE
static final int CR_INVALID_DEVNODE- Siehe auch:
-
CR_INVALID_DEVINST
static final int CR_INVALID_DEVINST- Siehe auch:
-
CR_INVALID_RES_DES
static final int CR_INVALID_RES_DES- Siehe auch:
-
CR_INVALID_LOG_CONF
static final int CR_INVALID_LOG_CONF- Siehe auch:
-
CR_INVALID_ARBITRATOR
static final int CR_INVALID_ARBITRATOR- Siehe auch:
-
CR_INVALID_NODELIST
static final int CR_INVALID_NODELIST- Siehe auch:
-
CR_DEVNODE_HAS_REQS
static final int CR_DEVNODE_HAS_REQS- Siehe auch:
-
CR_DEVINST_HAS_REQS
static final int CR_DEVINST_HAS_REQS- Siehe auch:
-
CR_INVALID_RESOURCEID
static final int CR_INVALID_RESOURCEID- Siehe auch:
-
CR_DLVXD_NOT_FOUND
static final int CR_DLVXD_NOT_FOUND- Siehe auch:
-
CR_NO_SUCH_DEVNODE
static final int CR_NO_SUCH_DEVNODE- Siehe auch:
-
CR_NO_SUCH_DEVINST
static final int CR_NO_SUCH_DEVINST- Siehe auch:
-
CR_NO_MORE_LOG_CONF
static final int CR_NO_MORE_LOG_CONF- Siehe auch:
-
CR_NO_MORE_RES_DES
static final int CR_NO_MORE_RES_DES- Siehe auch:
-
CR_ALREADY_SUCH_DEVNODE
static final int CR_ALREADY_SUCH_DEVNODE- Siehe auch:
-
CR_ALREADY_SUCH_DEVINST
static final int CR_ALREADY_SUCH_DEVINST- Siehe auch:
-
CR_INVALID_RANGE_LIST
static final int CR_INVALID_RANGE_LIST- Siehe auch:
-
CR_INVALID_RANGE
static final int CR_INVALID_RANGE- Siehe auch:
-
CR_FAILURE
static final int CR_FAILURE- Siehe auch:
-
CR_NO_SUCH_LOGICAL_DEV
static final int CR_NO_SUCH_LOGICAL_DEV- Siehe auch:
-
CR_CREATE_BLOCKED
static final int CR_CREATE_BLOCKED- Siehe auch:
-
CR_NOT_SYSTEM_VM
static final int CR_NOT_SYSTEM_VM- Siehe auch:
-
CR_REMOVE_VETOED
static final int CR_REMOVE_VETOED- Siehe auch:
-
CR_APM_VETOED
static final int CR_APM_VETOED- Siehe auch:
-
CR_INVALID_LOAD_TYPE
static final int CR_INVALID_LOAD_TYPE- Siehe auch:
-
CR_BUFFER_SMALL
static final int CR_BUFFER_SMALL- Siehe auch:
-
CR_NO_ARBITRATOR
static final int CR_NO_ARBITRATOR- Siehe auch:
-
CR_NO_REGISTRY_HANDLE
static final int CR_NO_REGISTRY_HANDLE- Siehe auch:
-
CR_REGISTRY_ERROR
static final int CR_REGISTRY_ERROR- Siehe auch:
-
CR_INVALID_DEVICE_ID
static final int CR_INVALID_DEVICE_ID- Siehe auch:
-
CR_INVALID_DATA
static final int CR_INVALID_DATA- Siehe auch:
-
CR_INVALID_API
static final int CR_INVALID_API- Siehe auch:
-
CR_DEVLOADER_NOT_READY
static final int CR_DEVLOADER_NOT_READY- Siehe auch:
-
CR_NEED_RESTART
static final int CR_NEED_RESTART- Siehe auch:
-
CR_NO_MORE_HW_PROFILES
static final int CR_NO_MORE_HW_PROFILES- Siehe auch:
-
CR_DEVICE_NOT_THERE
static final int CR_DEVICE_NOT_THERE- Siehe auch:
-
CR_NO_SUCH_VALUE
static final int CR_NO_SUCH_VALUE- Siehe auch:
-
CR_WRONG_TYPE
static final int CR_WRONG_TYPE- Siehe auch:
-
CR_INVALID_PRIORITY
static final int CR_INVALID_PRIORITY- Siehe auch:
-
CR_NOT_DISABLEABLE
static final int CR_NOT_DISABLEABLE- Siehe auch:
-
CR_FREE_RESOURCES
static final int CR_FREE_RESOURCES- Siehe auch:
-
CR_QUERY_VETOED
static final int CR_QUERY_VETOED- Siehe auch:
-
CR_CANT_SHARE_IRQ
static final int CR_CANT_SHARE_IRQ- Siehe auch:
-
CR_NO_DEPENDENT
static final int CR_NO_DEPENDENT- Siehe auch:
-
CR_SAME_RESOURCES
static final int CR_SAME_RESOURCES- Siehe auch:
-
CR_NO_SUCH_REGISTRY_KEY
static final int CR_NO_SUCH_REGISTRY_KEY- Siehe auch:
-
CR_INVALID_MACHINENAME
static final int CR_INVALID_MACHINENAME- Siehe auch:
-
CR_REMOTE_COMM_FAILURE
static final int CR_REMOTE_COMM_FAILURE- Siehe auch:
-
CR_MACHINE_UNAVAILABLE
static final int CR_MACHINE_UNAVAILABLE- Siehe auch:
-
CR_NO_CM_SERVICES
static final int CR_NO_CM_SERVICES- Siehe auch:
-
CR_ACCESS_DENIED
static final int CR_ACCESS_DENIED- Siehe auch:
-
CR_CALL_NOT_IMPLEMENTED
static final int CR_CALL_NOT_IMPLEMENTED- Siehe auch:
-
CR_INVALID_PROPERTY
static final int CR_INVALID_PROPERTY- Siehe auch:
-
CR_DEVICE_INTERFACE_ACTIVE
static final int CR_DEVICE_INTERFACE_ACTIVE- Siehe auch:
-
CR_NO_SUCH_DEVICE_INTERFACE
static final int CR_NO_SUCH_DEVICE_INTERFACE- Siehe auch:
-
CR_INVALID_REFERENCE_STRING
static final int CR_INVALID_REFERENCE_STRING- Siehe auch:
-
CR_INVALID_CONFLICT_LIST
static final int CR_INVALID_CONFLICT_LIST- Siehe auch:
-
CR_INVALID_INDEX
static final int CR_INVALID_INDEX- Siehe auch:
-
CR_INVALID_STRUCTURE_SIZE
static final int CR_INVALID_STRUCTURE_SIZE- Siehe auch:
-
NUM_CR_RESULTS
static final int NUM_CR_RESULTS- Siehe auch:
-
CM_LOCATE_DEVNODE_NORMAL
static final int CM_LOCATE_DEVNODE_NORMAL- Siehe auch:
-
CM_LOCATE_DEVNODE_PHANTOM
static final int CM_LOCATE_DEVNODE_PHANTOM- Siehe auch:
-
CM_LOCATE_DEVNODE_CANCELREMOVE
static final int CM_LOCATE_DEVNODE_CANCELREMOVE- Siehe auch:
-
CM_LOCATE_DEVNODE_NOVALIDATION
static final int CM_LOCATE_DEVNODE_NOVALIDATION- Siehe auch:
-
CM_LOCATE_DEVNODE_BITS
static final int CM_LOCATE_DEVNODE_BITS- Siehe auch:
-
CM_DRP_DEVICEDESC
static final int CM_DRP_DEVICEDESC- Siehe auch:
-
CM_DRP_HARDWAREID
static final int CM_DRP_HARDWAREID- Siehe auch:
-
CM_DRP_COMPATIBLEIDS
static final int CM_DRP_COMPATIBLEIDS- Siehe auch:
-
CM_DRP_SERVICE
static final int CM_DRP_SERVICE- Siehe auch:
-
CM_DRP_CLASS
static final int CM_DRP_CLASS- Siehe auch:
-
CM_DRP_CLASSGUID
static final int CM_DRP_CLASSGUID- Siehe auch:
-
CM_DRP_DRIVER
static final int CM_DRP_DRIVER- Siehe auch:
-
CM_DRP_CONFIGFLAGS
static final int CM_DRP_CONFIGFLAGS- Siehe auch:
-
CM_DRP_MFG
static final int CM_DRP_MFG- Siehe auch:
-
CM_DRP_FRIENDLYNAME
static final int CM_DRP_FRIENDLYNAME- Siehe auch:
-
CM_DRP_LOCATION_INFORMATION
static final int CM_DRP_LOCATION_INFORMATION- Siehe auch:
-
CM_DRP_PHYSICAL_DEVICE_OBJECT_NAME
static final int CM_DRP_PHYSICAL_DEVICE_OBJECT_NAME- Siehe auch:
-
CM_DRP_CAPABILITIES
static final int CM_DRP_CAPABILITIES- Siehe auch:
-
CM_DRP_UI_NUMBER
static final int CM_DRP_UI_NUMBER- Siehe auch:
-
CM_DRP_UPPERFILTERS
static final int CM_DRP_UPPERFILTERS- Siehe auch:
-
CM_DRP_LOWERFILTERS
static final int CM_DRP_LOWERFILTERS- Siehe auch:
-
CM_DRP_BUSTYPEGUID
static final int CM_DRP_BUSTYPEGUID- Siehe auch:
-
CM_DRP_LEGACYBUSTYPE
static final int CM_DRP_LEGACYBUSTYPE- Siehe auch:
-
CM_DRP_BUSNUMBER
static final int CM_DRP_BUSNUMBER- Siehe auch:
-
CM_DRP_ENUMERATOR_NAME
static final int CM_DRP_ENUMERATOR_NAME- Siehe auch:
-
CM_DRP_SECURITY
static final int CM_DRP_SECURITY- Siehe auch:
-
CM_DRP_SECURITY_SDS
static final int CM_DRP_SECURITY_SDS- Siehe auch:
-
CM_DRP_DEVTYPE
static final int CM_DRP_DEVTYPE- Siehe auch:
-
CM_DRP_EXCLUSIVE
static final int CM_DRP_EXCLUSIVE- Siehe auch:
-
CM_DRP_CHARACTERISTICS
static final int CM_DRP_CHARACTERISTICS- Siehe auch:
-
CM_DRP_ADDRESS
static final int CM_DRP_ADDRESS- Siehe auch:
-
CM_DRP_UI_NUMBER_DESC_FORMAT
static final int CM_DRP_UI_NUMBER_DESC_FORMAT- Siehe auch:
-
CM_DRP_DEVICE_POWER_DATA
static final int CM_DRP_DEVICE_POWER_DATA- Siehe auch:
-
CM_DRP_REMOVAL_POLICY
static final int CM_DRP_REMOVAL_POLICY- Siehe auch:
-
CM_DRP_REMOVAL_POLICY_HW_DEFAULT
static final int CM_DRP_REMOVAL_POLICY_HW_DEFAULT- Siehe auch:
-
CM_DRP_REMOVAL_POLICY_OVERRIDE
static final int CM_DRP_REMOVAL_POLICY_OVERRIDE- Siehe auch:
-
CM_DRP_INSTALL_STATE
static final int CM_DRP_INSTALL_STATE- Siehe auch:
-
CM_DRP_LOCATION_PATHS
static final int CM_DRP_LOCATION_PATHS- Siehe auch:
-
CM_DRP_BASE_CONTAINERID
static final int CM_DRP_BASE_CONTAINERID- Siehe auch:
-
-
Methodendetails
-
CM_Locate_DevNode
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.- Parameter:
pdnDevInst
- A pointer to a device instance handle that CM_Locate_DevNode retrieves. The retrieved handle is bound to the local machine.pDeviceID
- 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. *ulFlags
- 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- Gibt zurück:
- 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.
- Siehe auch:
-
CM_Get_Parent
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.- Parameter:
pdnDevInst
- 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.dnDevInst
- Caller-supplied device instance handle that is bound to the local machine.ulFlags
- Not used, must be zero.- Gibt zurück:
- If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
- Siehe auch:
-
CM_Get_Child
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.- Parameter:
pdnDevInst
- 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.dnDevInst
- Caller-supplied device instance handle that is bound to the local machine.ulFlags
- Not used, must be zero.- Gibt zurück:
- If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
- Siehe auch:
-
CM_Get_Sibling
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.- Parameter:
pdnDevInst
- 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.dnDevInst
- Caller-supplied device instance handle that is bound to the local machine.ulFlags
- Not used, must be zero.- Gibt zurück:
- If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
- Siehe auch:
-
CM_Get_Device_ID
The CM_Get_Device_ID function retrieves the device instance ID for a specified device instance on the local machine.- Parameter:
devInst
- Caller-supplied device instance handle that is bound to the local machine.Buffer
- 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.BufferLen
- Caller-supplied length, in characters, of the buffer specified by Buffer.ulFlags
- Not used, must be zero.- Gibt zurück:
- If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
- Siehe auch:
-
CM_Get_Device_ID_Size
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.- Parameter:
pulLen
- Receives a value representing the required buffer size, in characters.dnDevInst
- Caller-supplied device instance handle that is bound to the local machine.ulFlags
- Not used, must be zero.- Gibt zurück:
- If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
- Siehe auch:
-
CM_Get_DevNode_Registry_Property
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.- Parameter:
dnDevInst
- A caller-supplied device instance handle that is bound to the local machine.ulProperty
- ACM_DRP_
-prefixed constant value that identifies the device property to be obtained from the registry. These constants are defined in Cfgmgr32.h.pulRegDataType
- Optional, can benull
. A pointer to a location that receives the registry data type, specified as aREG_
-prefixed constant defined in Winnt.h.buffer
- Optional, can benull
. A pointer to a caller-supplied buffer that receives the requested device property. If this value isnull
, the function supplies only the length of the requested data in the address pointed to bypulLength
.pulLength
- A pointer to aULONG
variable into which the function stores the length, in bytes, of the requested device property.If the Buffer parameter is set to
null
, the ULONG variable must be set to zero.If the Buffer parameter is not set to
null
, theULONG
variable must be set to the length, in bytes, of the caller-supplied buffer.ulFlags
- Not used, must be zero.- Gibt zurück:
- If the operation succeeds, the function returns
CR_SUCCESS
. Otherwise, it returns one of theCR_
-prefixed error codes that are defined in Cfgmgr32.h.
-