File that contains globals. based on globals.cpp Printer Driver UI Plugin Sample by Microsoft Corporation. More...
#include "precomp.h"
#include "globals.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | MAX_STR 10000 |
Maximum length of resource string. | |
Functions | |
std::tstring | LoadResourceString (UINT uID) |
Function to load a string from the resources. | |
Variables | |
HINSTANCE | ghInstance = NULL |
Module's Instance handle from DLLEntry of process. |
File that contains globals. based on globals.cpp Printer Driver UI Plugin Sample by Microsoft Corporation.
Definition in file globals.cpp.
std::tstring LoadResourceString | ( | UINT | uID | ) |
Function to load a string from the resources.
uID | Resource ID of the string to load |
Definition at line 49 of file globals.cpp.
References ghInstance, and MAX_STR.
Referenced by CCPrintDlg::AddDlgComboString(), LicenseInfoLoader::LoadLicenseData(), CCLicenseWizTypePage::OnKillActive(), CCLicenseWizSummeryPage::OnSetActive(), LicenseInfoLoader::RequestLicense(), and CCLicenseWizTypePage::SetDescription().
HINSTANCE ghInstance = NULL |
Module's Instance handle from DLLEntry of process.
Instance of module (defined at dllentry.cpp).
Definition at line 43 of file globals.cpp.
Referenced by CCLicenseLocationWnd::CreateWnd(), DllMain(), DoLicensePage(), CCPrintDlg::DoModal(), CCLicenseWizard::DoModal(), LicenseInfoLoader::LoadInternalLicenseInfo(), LoadResourceString(), OEMSendPage(), CCLicenseWizSummeryPage::OnSetActive(), CCPrintPropPage::PreparePage(), CCLicenseLocationWnd::ProcessMessage(), CCLicenseLocationWnd::RegisterWindowClass(), CCLicenseLocationWnd::UnregisterWindowClassNow(), and CCLicensePropPage::UpdateLicenseControls().