IReplNotify::QueryDevice
This method requests information about a device.
void QueryDevice(
UINT uCode,
LPVOID* ppvData
);
Parameters
uCode
[in] It is one of the following values.Value Description QDC_SEL_DEVICE Requests information for the selected device. In this case, *ppvData points to the DEVINFO structure containing the information for the device. QDC_CON_DEVICE Requests information for the connected device. In this case, *ppvData points to the DEVINFO structure containing the information for the device. QDC_SEL_DEVICE_KEY Gets a registry key that can be used to store selected device-specific settings. In this case, *ppvData points to HKEY. The caller must close the registry key when its usage is over. QDC_CON_DEVICE_KEY Gets a registry key that can be used to store connected device-specific settings. In this case, *ppvData points to HKEY. The caller must close the registry key when its usage is over. ppvData
[out] Depending on uCode, this parameter is a pointer to a void pointer to either a DEVINFO structure or HKEY.
Return Values
None.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.