windows-nt/Source/XPSP1/NT/ds/security/gina/samples/gptdemo/main.h
2020-09-26 16:20:57 +08:00

92 lines
1.5 KiB
C++

#include <windows.h>
#include <lm.h>
#include <ole2.h>
#include <olectl.h>
#include <shellapi.h>
#include <shlobj.h>
#include <commctrl.h>
#include <prsht.h>
#include <mmc.h>
#include <gpedit.h>
#include <gptdemo.h>
class CSnapIn;
#include "layout.h"
#include "compdata.h"
#include "snapin.h"
#include "dataobj.h"
#include "debug.h"
#include "util.h"
//
// Resource ids
//
#define IDS_SNAPIN_NAME 1
#define IDS_NAME 2
#define IDS_POLICY 3
#define IDS_DISPLAY 4
#define IDS_SAMPLES 5
#define IDS_README 8
#define IDS_APPEAR 19
//
// Icons
//
#define IDI_POLICY 1
#define IDI_README 2
#define IDI_APPEAR 7
//
// Bitmaps
//
#define IDB_16x16 1
#define IDB_32x32 2
//
// Dialogs
//
#define IDD_README 150
#define IDD_APPEAR 600
#define IDC_RED 601
#define IDC_GREEN 602
#define IDC_BLUE 603
#define IDC_BLACK 604
#define IDC_GRAY 605
#define IDC_DEFAULT 606
#define IDC_WALLPAPER 607
#define IDC_TILE 608
#define IDC_CENTER 609
//
// Global variables
//
extern LONG g_cRefThisDll;
extern HINSTANCE g_hInstance;
//
// Macros
//
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
//
// Functions to create class factories
//
HRESULT CreateComponentDataClassFactory (REFCLSID rclsid, REFIID riid, LPVOID* ppv);