uLib  User mode C/C++ extended API library for Win32 programmers.

Module Description

Ubiquitous globals (Common.cpp)

YOU set (and use) these application variables.. The default value is NULL.
USING THEM IS HIGHLY RECOMMENDED, for compliance, but not enforced in any way.
Note: uLib occasionally use some of them internally ((#) as fallback defaults).

Variables

HINSTANCE hInstance
 
HWND hMainWnd
 
HWND hCurrDlg
 
HACCEL hMainAcc
 
HWND hMdiClient
 
SECURITY_ATTRIBUTES DefSec
 
SECURITY_DESCRIPTOR DefSecDesc
 

Variable Documentation

◆ hInstance

HINSTANCE hInstance

App or DLL instance. (#) StdDlg.cpp, UtilFunc.cpp

Definition at line 10 of file Common.cpp.

◆ hMainWnd

HWND hMainWnd

Main window, if any. (#) UtilFunc.cpp

Definition at line 12 of file Common.cpp.

◆ hCurrDlg

HWND hCurrDlg

Current dialog, if any. (#) StdDlg.cpp

Definition at line 13 of file Common.cpp.

◆ hMainAcc

HACCEL hMainAcc

Accelerators, if any.

Definition at line 14 of file Common.cpp.

◆ hMdiClient

HWND hMdiClient

MDI client window, if any.

Definition at line 15 of file Common.cpp.

◆ DefSec

SECURITY_ATTRIBUTES DefSec

Default = Use security descriptor of calling process..
Change as needed.

Definition at line 20 of file Common.cpp.

◆ DefSecDesc

SECURITY_DESCRIPTOR DefSecDesc

All yours.. Default = All zeroes..
Change as needed.

Definition at line 21 of file Common.cpp.