mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-17 13:23:04 +10:00
Initial commit
This commit is contained in:
43
ClassicShellSrc/ClassicExplorer/dllmain.h
Normal file
43
ClassicShellSrc/ClassicExplorer/dllmain.h
Normal file
@@ -0,0 +1,43 @@
|
||||
// Classic Shell (c) 2009-2016, Ivo Beltchev
|
||||
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
|
||||
|
||||
// dllmain.h : Declaration of module class.
|
||||
#pragma once
|
||||
|
||||
#include "ClassicExplorer_i.h"
|
||||
#include <vector>
|
||||
|
||||
class CClassicExplorerModule : public CAtlDllModuleT< CClassicExplorerModule >
|
||||
{
|
||||
public :
|
||||
DECLARE_LIBID(LIBID_ClassicExplorerLib)
|
||||
DECLARE_REGISTRY_APPID_RESOURCEID(IDR_CLASSICEXPLORER, "{65843E27-A491-429F-84A0-30A947E20F92}")
|
||||
};
|
||||
|
||||
extern class CClassicExplorerModule _AtlModule;
|
||||
|
||||
// Some utility functions used by various modules
|
||||
HWND FindChildWindow( HWND hwnd, const wchar_t *className );
|
||||
INT_PTR RunSettingsDialog( HWND hWndParent, DLGPROC lpDialogFunc );
|
||||
|
||||
struct TlsData
|
||||
{
|
||||
// the bho instance that runs on this thread
|
||||
class CExplorerBHO *bho;
|
||||
|
||||
// the band instance that runs on this thread
|
||||
class CExplorerBand *band;
|
||||
|
||||
// one hook for each copy thread
|
||||
HHOOK copyHook;
|
||||
|
||||
// bCopyMultiFile is true if the first dialog in this thread is multi-file (IDD_FILEMULTI)
|
||||
// if so, all the rest are multi-file. this makes the UI consistent (like the position of the Yes button doesn't change)
|
||||
bool bCopyMultiFile;
|
||||
};
|
||||
|
||||
TlsData *GetTlsData( void );
|
||||
extern LPCWSTR g_LoadedSettingsAtom;
|
||||
extern bool g_bLogLevel;
|
||||
|
||||
void WaitDllInitThread( void );
|
||||
Reference in New Issue
Block a user