IUPnPService::get_Id method (upnp.h)

The Id property specifies the service ID for the service.

Syntax

HRESULT get_Id(
  [out] BSTR *pbstrId
);

Parameters

[out] pbstrId

Receives a reference to the service ID. Release this string with SysFreeString when it is no longer required..

Return value

For C++: If this property's "get" method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPService