PrinterSecurity
Previous Top Next


Function PrinterSecurity(int enabled)

This function allows you to disable an application's ability to print. When printer security is enabled, the application will find no printers installed, or receive a permission denied result if it tries to open a named printer.

Parameters

enabled
[in] A value of 0 disables printer security, and the application will be able to print normally
A value of 1 enables printer security, and the application will find no printers available if it tries to print

Return Values
This function has no return value