IWSDiscoveredService::GetInstanceId method (wsddisco.h)

Retrieves the instance identifier of this message.

Syntax

HRESULT GetInstanceId(
  [out] ULONGLONG *pullInstanceId
);

Parameters

[out] pullInstanceId

A pointer to the instance identifier of this message.

Return value

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method completed successfully.
E_POINTER
pullInstanceId is NULL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsddisco.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDiscoveredService