WdsTransportProviderGetContentSize function (wdstpdi.h)

Retrieves the size of an open content stream.

Syntax

HRESULT WDSTRANSPORTPROVIDERAPI WdsTransportProviderGetContentSize(
  [in]  HANDLE          hContent,
  [out] PULARGE_INTEGER pContentSize
);

Parameters

[in] hContent

Handle to an open content stream, opened with the WdsTransportProviderOpenContent callback.

[out] pContentSize

Pointer to a large integer that receives the size of the content stream.

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