IUPnPService::Id method

The Id property specifies the service ID for the service.

Syntax


HRESULT Id(
  [out] BSTR *pbstrId
);

Parameters

pbstrId [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

None supported

Header

Upnp.h

DLL

Upnp.dll

See also

IUPnPService

 

 

Community Additions

ADD
Show: