Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

46 lines
1.3 KiB

// imgedit.h : main header file for IMGEDIT.DLL
#if !defined( __AFXCTL_H__ )
#error include 'afxctl.h' before including this file
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CImgeditApp : See imgedit.cpp for implementation.
class CImgeditApp : public COleControlModule
{
public:
BOOL InitInstance();
int ExitInstance();
};
extern const GUID CDECL _tlid;
extern const WORD _wVerMajor;
extern const WORD _wVerMinor;
// MY OWN BASE CLASS FOR HANDLING GLOBAL LIST OF IMAGE CONTROLS
// FOR MULTIPLE INSTANCES (APPLICATIONS - VB, ACCESS 2.0, etc...)
class CControlList
{
public:
// Constructor
CControlList();
void Add(LPCTSTR ImageControl, HWND hImageControl, DWORD ProcessId);
BOOL Delete(LPCTSTR ImageControl, DWORD ProcessId, HWND hImageWnd);
UINT Update(LPCTSTR ImageControl, HWND hImageControl, DWORD ProcessId);
BOOL Lookup(LPCTSTR ImageControl, LPHANDLE hImageControl, DWORD ProcessId);
UINT GetCount(DWORD ProcessId);
void GetControlList(DWORD ProcessId, LPCONTROLLIST lpControlList);
// member variables
HANDLE m_hControlMemoryMap;
int m_CurrentControlSize;
LPIMAGECONTROL_MEMORY_MAP m_lpControlMemoryMap;
// Implementation
~CControlList();
};