PFNDPASTREAM callback function (dpa_dsa.h)

Defines the prototype for the callback function used by DPA_LoadStream and DPA_SaveStream.

Syntax

PFNDPASTREAM Pfndpastream;

HRESULT Pfndpastream(
  DPASTREAMINFO *pinfo,
  IStream *pstream,
  void *pvInstData
)
{...}

Parameters

pinfo

Type: DPASTREAMINFO*

A pointer to a DPASTREAMINFO structure.

pstream

Type: struct IStream*

An IStream object to read from or write to.

pvInstData

Type: void*

A void pointer to callback data that the client passed to DPA_LoadStream or DPA_SaveStream.

Return value

Type: HRESULT

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dpa_dsa.h