GetPdfPromptForPassword

 

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.

 

GetPdfPromptForPassword (pBlackIceDEVMODE As Long) As Boolean

 

Input value pBlackIceDEVMODE

-          pointer to the BlackIceDEVMODE structure.

Return value

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

 

 

NOTE: For 32-bit applications, use pBlackIceDEVMODE as Integer, instead of Long.