CCPrintInstallDll/CCPrintInstallDll.cpp File Reference

Entry and exported functions for the CCPrintInstallDll module. More...

#include "stdafx.h"
#include "CCPrintInstallFunctions.h"
Include dependency graph for CCPrintInstallDll.cpp:

Go to the source code of this file.

Functions

BOOL APIENTRY DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
 DLL initialization/destruction function.
LONG APIENTRY InstallPrinter (HWND hwnd, LPLONG lpIValue, LPTSTR installPath)
 Call to install the CC PDF printer driver.
LONG APIENTRY RemovePrinter (HWND hwnd, LPLONG lpIValue, LPSTR lpszValue)
 Call to remove the CC PDF printer driver.
LONG APIENTRY IsInstalled (HWND hwnd, LPLONG lpIValue, LPSTR lpszValue)
 Call to check if the CC PDF Printer is installed.

Variables

HANDLE ghModule = NULL
 Global handle for the module.

Detailed Description

Entry and exported functions for the CCPrintInstallDll module.

Definition in file CCPrintInstallDll.cpp.


Function Documentation

BOOL APIENTRY DllMain ( HANDLE  hModule,
DWORD  ul_reason_for_call,
LPVOID  lpReserved 
)

DLL initialization/destruction function.

Parameters:
hModule Handle to the module
ul_reason_for_call Reason this function is called
lpReserved Ignored
Returns:
TRUE

Definition at line 40 of file CCPrintInstallDll.cpp.

References ghModule.

LONG APIENTRY InstallPrinter ( HWND  hwnd,
LPLONG  lpIValue,
LPTSTR  installPath 
)

Call to install the CC PDF printer driver.

Parameters:
hwnd Handle to the parent window
lpIValue Ignored
lpszValue Ignored
Returns:
0 if successfully installed, 1 if failed

Definition at line 59 of file CCPrintInstallDll.cpp.

References CCPDFPrinterInstaller::DoInstall(), and ghModule.

LONG APIENTRY IsInstalled ( HWND  hwnd,
LPLONG  lpIValue,
LPSTR  lpszValue 
)

Call to check if the CC PDF Printer is installed.

Parameters:
hwnd Handle to the parent window
lpIValue Ignored
lpszValue Ignored
Returns:
0 if the printer is installed, 1 if not

Definition at line 85 of file CCPrintInstallDll.cpp.

References CCPDFPrinterInstaller::IsPrinterInstalled().

LONG APIENTRY RemovePrinter ( HWND  hwnd,
LPLONG  lpIValue,
LPSTR  lpszValue 
)

Call to remove the CC PDF printer driver.

Parameters:
hwnd Handle to the parent window
lpIValue Ignored
lpszValue Ignored
Returns:
0 if successfully removed, 1 if failed

Definition at line 72 of file CCPrintInstallDll.cpp.

References CCPDFPrinterInstaller::DoRemove().


Generated on Mon Jun 18 12:40:03 2012 for CC PDF Converter by doxygen 1.6.1