Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method gets the device ID of the device associated with a service.
HRESULT Device ( BSTR* pbstrDeviceId);
Parameters
- pbstrDeviceId
[out, retval] The ID of the device associated with the service.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates success. |
E_INVALIDARG | Indicates invalid input arguments. |
Remarks
The service host uses this method to cache the associated service.
Clients can use pbstrDeviceId to create a device object from the Datastore.
Requirements
OS Version: Windows CE 5.0 and later.
Header: CcService.h.
Link Library: none.
See Also
Send Feedback on this topic to the authors