IWSDDeviceHostNotify::GetService method (wsdhost.h)
Retrieves a service object that is not currently registered.
Syntax
HRESULT GetService(
[in] LPCWSTR pszServiceId,
[out] IUnknown **ppService
);
Parameters
[in] pszServiceId
The ID of the service to be produced.
[out] ppService
A reference to an IWSDServiceProxy object for the specified service.
Return value
Possible return values include, but are not limited to, the following:
Return code | Description |
---|---|
|
Method completed successfully. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsdhost.h (include Wsdapi.h) |
DLL | Wsdapi.dll |