GetPdfSubject

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetPdfSubject (BlackIceDEVMODE* pDevMode, LPTSTR pSubject, DWORD* pSize);

Description

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

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pSubject                                        - pointer to the string

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

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None