Entry and exported functions for the CCPrintInstallDll module. More...
#include "stdafx.h"#include "CCPrintInstallFunctions.h"
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. | |
Entry and exported functions for the CCPrintInstallDll module.
Definition in file CCPrintInstallDll.cpp.
| BOOL APIENTRY DllMain | ( | HANDLE | hModule, | |
| DWORD | ul_reason_for_call, | |||
| LPVOID | lpReserved | |||
| ) |
DLL initialization/destruction function.
| hModule | Handle to the module | |
| ul_reason_for_call | Reason this function is called | |
| lpReserved | Ignored |
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.
| hwnd | Handle to the parent window | |
| lpIValue | Ignored | |
| lpszValue | Ignored |
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.
| hwnd | Handle to the parent window | |
| lpIValue | Ignored | |
| lpszValue | Ignored |
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.
| hwnd | Handle to the parent window | |
| lpIValue | Ignored | |
| lpszValue | Ignored |
Definition at line 72 of file CCPrintInstallDll.cpp.
References CCPDFPrinterInstaller::DoRemove().
1.6.1