mirror of https://github.com/tongzx/nt5src
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.
45 lines
1.1 KiB
45 lines
1.1 KiB
#ifndef _WAMREG_COMMON_H
|
|
#define _WAMREG_COMMON_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
#include <windows.h>
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif // __cplusplus
|
|
|
|
#include "wmrgexp.h"
|
|
//==========================================================================
|
|
// Global Macro defines.
|
|
//
|
|
//==========================================================================
|
|
#define RELEASE(p) {if ( p ) { p->Release(); p = NULL; }}
|
|
#define FREEBSTR(p) {if (p) {SysFreeString( p ); p = NULL;}}
|
|
//
|
|
// 39 is the size of CLSID
|
|
//
|
|
#define uSizeCLSID 39
|
|
|
|
//==========================================================================
|
|
// Global data defines
|
|
//
|
|
//==========================================================================
|
|
extern DWORD g_dwRefCount;
|
|
extern PFNServiceNotify g_pfnW3ServiceSink;
|
|
extern HINSTANCE g_hModule;
|
|
|
|
|
|
//==========================================================================
|
|
// function declarations
|
|
//
|
|
//==========================================================================
|
|
|
|
|
|
|
|
#endif // _WAMREG_COMMON_H
|