Jungo WinDriver
Official Documentation
|
DWORD DLLCALLCONV WDU_GetDeviceRegistryProperty | ( | _In_ WDU_DEVICE_HANDLE | hDevice, |
_Outptr_ PVOID | pBuffer, | ||
_Inout_ PDWORD | pdwSize, | ||
_In_ WD_DEVICE_REGISTRY_PROPERTY | property | ||
) |
Gets the specified registry property of a given device.
[in] | hDevice | A unique identifier of the device/interface. |
[out] | pBuffer | Pointer to a user allocated buffer to be filled with the requested registry property. The function will fill the buffer only if the buffer size, as indicated in the input value of the pdwSize parameter, is sufficient - i.e >= the property's size, as returned via pdwSize. pBuffer can be set to NULL when using the function only to retrieve the size of the registry property (see pdwSize). |
[in,out] | pdwSize | As input, points to a value indicating the size of the user-supplied buffer (pBuffer); if pBuffer is set to NULL, the input value of this parameter is ignored. As output, points to a value indicating the required buffer size for storing the registry property. |
[in] | property | The ID of the registry property to be retrieved - see the WD_DEVICE_REGISTRY_PROPERTY enumeration in windrvr.h. Note: String registry properties are in WCHAR format. |