#include “BlackIceDEVMODE.h”
BOOL GetPdfTitle (BlackIceDEVMODE* pDevMode, LPTSTR pTitle, DWORD* pSize);
Description
Returns the title of the PDF document. If pTitle is NULL or too small, the function returns FALSE, and pSize will contain the number of bytes required for storing the title of the document. The maximum number of characters in the title is (MAX_TITLE_LNG - 1). The MAX_TITLE_LNG is declared in DEVMODE.h.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
LPTSTR pTitle - pointer to the string
DWORD* pSize - pointer to variable that contains the length of the pTitle in bytes.
Return value
TRUE on success, otherwise FALSE.
Programming Notes
None
Code Example
None