IWSDiscoveredService::GetLocalInterfaceGUID method (wsddisco.h)

Retrieves the GUID of the local network interface over which the message was received.

Syntax

HRESULT GetLocalInterfaceGUID(
  [out] GUID *pGuid
);

Parameters

[out] pGuid

GUID of the local network interface over which the message was received. Structure will be cleared if the local interface GUID is not available.

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
pGuid 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