USBD_GetPdoRegistryParameter routine
The USBD_GetPdoRegistryParameter routine retrieves the value from the specified key in the USB device's hardware registry.
Syntax
NTSTATUS USBD_GetPdoRegistryParameter( _In_ PDEVICE_OBJECT PhysicalDeviceObject, _Inout_ PVOID Parameter, _In_ ULONG ParameterLength, _In_ PWSTR KeyName, _In_ ULONG KeyNameLength );
Parameters
- PhysicalDeviceObject [in]
-
Specifies the device object for the USB device.
- Parameter [in, out]
-
Pointer to a caller-allocated buffer that receives the registry value.
- ParameterLength [in]
-
Size, in bytes, of the buffer that is pointed to by Parameter.
- KeyName [in]
-
Pointer to a string containing the name of the registry key.
- KeyNameLength [in]
-
Size, in bytes, of the buffer that is pointed to by KeyName.
Return value
The USBD_GetPdoRegistryParameter returns STATUS_SUCCESS when the operation succeeds or an appropriate error status when the operation fails.
Requirements
Header |
|
---|---|
IRQL | PASSIVE_LEVEL |
See also
Send comments about this topic to Microsoft
Build date: 12/5/2013
Show: