IWSDiscoveredService::GetMetadataVersion method (wsddisco.h)
Retrieves the metadata version of this message.
Syntax
HRESULT GetMetadataVersion(
[out] ULONGLONG *pullMetadataVersion
);
Parameters
[out] pullMetadataVersion
Metadata version 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 |
---|---|
|
Method completed successfully. |
|
pullMetadataVersion is NULL. |
Remarks
Versioning is used to determine if metadata exchange should be performed again due to a state change on the device.
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 |