CMSWindowsUtil Class Reference

List of all members.

Static Public Member Functions

static CString getString (HINSTANCE instance, DWORD id)
 Get message string.
static CString getErrorString (HINSTANCE, DWORD error, DWORD id)
 Get error string.

Detailed Description

Definition at line 22 of file CMSWindowsUtil.h.


Member Function Documentation

CString CMSWindowsUtil::getErrorString ( HINSTANCE  hinstance,
DWORD  error,
DWORD  id 
) [static]

Get error string.

Gets a system error message for error. If the error cannot be found return the string for id, replacing ${1} with error.

Definition at line 54 of file CMSWindowsUtil.cpp.

References CStringUtil::format(), getString(), and CStringUtil::print().

CString CMSWindowsUtil::getString ( HINSTANCE  instance,
DWORD  id 
) [static]

Get message string.

Gets a string for id from the string table of instance.

Definition at line 24 of file CMSWindowsUtil.cpp.

Referenced by getErrorString().


The documentation for this class was generated from the following files:

Generated on 12 Nov 2010 for synergy-plus by  doxygen 1.6.1