GetPdfAAuthor

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetPdfAAuthor (BlackIceDEVMODE* pDevMode, LPTSTR pAuthor, DWORD* pSize);

Description

Returns the author of the PDF/A document. If pAuthor is NULL or too small, the function returns FALSE, and pSize will contain the number of bytes required for storing the author of the document. The maximum number of characters in the author is (MAX_AUTHOR_LNG - 1). The MAX_AUTHOR_LNG is declared in DEVMODE.h.

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure.

LPTSTR pAuthor                                       - pointer to the string

DWORD* pSize                                           - pointer to variable that contains the length of the pAuthor in bytes.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None