WdsTransportProviderCompareContent function (wdstpdi.h)
Compares a specified content name and instance to an open content stream to determine if they are the same.
Syntax
HRESULT WDSTRANSPORTPROVIDERAPI WdsTransportProviderCompareContent(
[in] HANDLE hInstance,
[in] PCWSTR pwszContentName,
[in] HANDLE hContent,
[out] PBOOL pbContentMatches
);
Parameters
[in] hInstance
Handle to an instance against which this content will be opened.
[in] pwszContentName
The name of the content to compare.
[in] hContent
Handle to a open content stream.
[out] pbContentMatches
If the content stream identified to by hInstance and pwszContentName is exactly the same as the content stream specified by hContent, the location receives a true value. Otherwise, the location receives a false value.
Return value
If the function succeeds, the return is S_OK.
Remarks
This callback is required.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only] |
Target Platform | Windows |
Header | wdstpdi.h |