WdsTransportProviderCompareContent callback function

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

hInstance [in]

Handle to an instance against which this content will be opened.

pwszContentName [in]

The name of the content to compare.

hContent [in]

Handle to a open content stream.

pbContentMatches [out]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]

Header

Wdstpdi.h

 

 

Community Additions

ADD
Show: