WdsTransportProviderOpenContent function (wdstpdi.h)

Opens a new static view of a content stream.

Syntax

HRESULT WDSTRANSPORTPROVIDERAPI WdsTransportProviderOpenContent(
  [in]  HANDLE  hInstance,
  [in]  PCWSTR  pwszContentName,
  [out] PHANDLE phContent
);

Parameters

[in] hInstance

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

[in] pwszContentName

The name of the content stream.

[out] phContent

Pointer to a handle that identifies this content stream to the provider.

Return value

If the function succeeds, the return is S_OK.

Remarks

This callback is required.

When the handle returned by this function is no longer needed it should be closed with using the WdsTransportProviderCloseContent callback.

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