CCPrintUI/globals.cpp File Reference

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"
Include dependency graph for globals.cpp:

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.

Detailed Description

File that contains globals. based on globals.cpp Printer Driver UI Plugin Sample by Microsoft Corporation.

Definition in file globals.cpp.


Function Documentation

std::tstring LoadResourceString ( UINT  uID  ) 

Function to load a string from the resources.

Parameters:
uID Resource ID of the string to load
Returns:
The loaded string (empty if not found)

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().


Variable Documentation

HINSTANCE ghInstance = NULL

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