SetPdfPromptForPassword

 

#include “BlackIceDEVMODE.h”

 

BOOL             SetPdfPromptForPassword (BlackIceDEVMODE* pDevMode, BOOL bEnable);

 

Description

 

Enables or disables 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                             

-       Set to TRUE to enable the “Prompt the user for password” option, or set to FALSE to disable it.

 

Return value

 

TRUE on success, otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None