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(
  [in]           DPASTREAMINFO *pinfo,
  [in]           IStream *pstream,
  [in, optional] void *pvInstData
)
{...}

Parameters

[in] pinfo

Type: DPASTREAMINFO*

A pointer to a DPASTREAMINFO structure.

[in] pstream

Type: struct IStream*

An IStream object to read from or write to.

[in, optional] 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

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