GetPdfPromptForPassword

 

#include “BlackIceDEVMODE.h”

 

BOOL             GetPdfPromptForPassword (BlackIceDEVMODE* pDevMode, BOOL* bEnable);

 

Description

 

Returns the state of the “Prompt the user for password” option. When the “Prompt the user for password” option is turned on, the printer driver shows a dialog during printing where the password can be specified for encrypting the document.

 

Parameters

 

BlackIceDEVMODE* pDevMode   

-       Pointer to the BlackIceDEVMODE structure.

BOOL* bEnable                            

-       Returns TRUE if the “Prompt the user for password” option is turned on, FALSE otherwise.

 

Return value

 

TRUE on success, otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None