WdsTransportProviderOpenContent callback function

Opens a new static view of a content stream.

Syntax


HRESULT WDSTRANSPORTPROVIDERAPI WdsTransportProviderOpenContent(
  _In_   HANDLE hInstance,
  _In_   HANDLE pwszContentName,
  _Out_  PHANDLE phContent
);

Parameters

hInstance [in]

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

pwszContentName [in]

The name of the content stream.

phContent [out]

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

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:
© 2014 Microsoft