You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
851 B
39 lines
851 B
//
|
|
// globals.h
|
|
//
|
|
// Global variable declarations.
|
|
//
|
|
|
|
#ifndef GLOBALS_H
|
|
#define GLOBALS_H
|
|
|
|
#include "ciccs.h"
|
|
|
|
void DllAddRef();
|
|
void DllRelease();
|
|
|
|
|
|
#define SafeRelease(punk) \
|
|
{ \
|
|
if ((punk) != NULL) \
|
|
{ \
|
|
(punk)->Release(); \
|
|
} \
|
|
}
|
|
|
|
#define SafeReleaseClear(punk) \
|
|
{ \
|
|
if ((punk) != NULL) \
|
|
{ \
|
|
(punk)->Release(); \
|
|
(punk) = NULL; \
|
|
} \
|
|
}
|
|
|
|
extern HINSTANCE g_hInst;
|
|
extern LONG g_cRefDll;
|
|
extern CCicCriticalSectionStatic g_cs;
|
|
extern BOOL g_fProcessDetached;
|
|
extern const CLSID CLSID_MSLBUI;
|
|
|
|
#endif // GLOBALS_H
|