Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This method retrieves an IRAPIDeviceobject representing a Windows Embedded CE–based device connected to the desktop.
Syntax
HRESULT FindDevices( RAPIDEVICEID * pDeviceID, RAPI_GETDEVICEOPCODE opFlags,..IRAPIDevice** ppIDevice ); |
Parameters
- pDeviceID
-
[in] Reference to a RAPIDEVICEIDtype that uniquely identifies the Windows Embedded CE–based device that is being requested.
- opFlags
-
[in] A member of the RAPI_GETDEVICEOPCODEenumeration indicating whether the method call should block until a response is received. This value should always be RAPI_GETDEVICE_NONBLOCKING.
- pDeviceID
-
[out] Reference to an IRAPIDevice object that represents a connected Windows Embedded CE–based device.
Return Value
If the operation was successful, the return value is NOERROR.
Remarks
If the RAPIDEVICEID identifier for a remote device is not known, an IRAPIDevice object associated with the device can be retreived using the IRAPIDesktop::EnumDevices method. After this has been done, the IRAPIDevice::GetDeviceInfo method can be used to obtain the RAPIDEVICEID of the device.
Requirements
Header | rapi2.h |
Library | ole32.lib, rapiuuid.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.