Windows Dev Center

PFNDPASTREAM function pointer

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

Syntax


typedef HRESULT ( CALLBACK *PFNDPASTREAM)(
  _In_     DPASTREAMINFO  *pinfo,
  _In_     struct IStream *pstream,
  _In_opt_ void           *pvInstData
);

Parameters

pinfo [in]

Type: DPASTREAMINFO*

A pointer to a DPASTREAMINFO structure.

pstream [in]

Type: struct IStream*

An IStream object to read from or write to.

pvInstData [in, optional]

Type: void*

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

Return value

Type: HRESULT

If this function pointer 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]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft