source: branches/erasershellext/cpp/dllmain.h @ 689

Revision 689, 501 bytes checked in by lowjoel, 5 years ago (diff)

Move CEraserCtxMenuApp to the header; we need it to get the module instance handle (the Afx* functions return NULL?)

Line 
1// dllmain.h : Declaration of module class.
2
3class CEraserCtxMenuModule : public CAtlDllModuleT< CEraserCtxMenuModule >
4{
5public :
6    DECLARE_LIBID(LIBID_EraserCtxMenuLib)
7    DECLARE_REGISTRY_APPID_RESOURCEID(IDR_ERASERCTXMENU, "{92BDCDEA-D98E-49C2-9851-A4AD15B847EA}")
8};
9
10class CEraserCtxMenuApp : public CWinApp
11{
12public:
13    virtual BOOL InitInstance();
14    virtual int ExitInstance();
15
16    DECLARE_MESSAGE_MAP()
17};
18
19extern CEraserCtxMenuModule _AtlModule;
20extern CEraserCtxMenuApp theApp;
Note: See TracBrowser for help on using the repository browser.