Expand Minimize

PFN_CRYPT_XML_WRITE_CALLBACK callback function

The PFN_CRYPT_XML_WRITE_CALLBACK callback function writes XML data.

Syntax


HRESULT CALLBACK PFN_CRYPT_XML_WRITE_CALLBACK(
  _Inout_  void *pvCallbackState,
  _In_     BYTE pbData,
  ULONG cbData
);

Parameters

pvCallbackState [in, out]

A pointer to an argument that is passed to the callback function pointed to by the pfnWrite parameter of the CryptXmlDllEncodeAlgorithm function.

pbData [in]

A pointer to a block of data to be written.

cbData

The size, in bytes, of the data pointed to by the pbData parameter.

Return value

If the function succeeds, the function returns zero.

If the function fails, it returns an HRESULT value that indicates the error.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cryptxml.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft