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.
41 lines
1.0 KiB
41 lines
1.0 KiB
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#define STRICT
|
|
#ifndef _WIN32_WINNT
|
|
#define _WIN32_WINNT 0x0501 // 0x0400
|
|
#endif
|
|
#define _ATL_APARTMENT_THREADED
|
|
|
|
#include <atlbase.h>
|
|
//You may derive a class from CComModule and use it if you want to override
|
|
//something, but do not change the name of _Module
|
|
extern CComModule _Module;
|
|
#include <atlcom.h>
|
|
#include <atlwin.h>
|
|
#include <dlgs.h>
|
|
#include <atldlgs.h>
|
|
#include <atlctrls.h>
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <list>
|
|
|
|
// Define tstring
|
|
typedef std::basic_string<TCHAR> tstring;
|
|
#define TSTRING tstring
|
|
|
|
#include "resource.h"
|
|
#include <mmc.h>
|
|
#include <streamio.h>
|
|
#include <commctrl.h>
|
|
|
|
HRESULT LoadImages(IImageList* pImageList);
|
|
tstring StrLoadString(UINT uID);
|
|
void StrGetEditText( HWND hWndParent, UINT uID, tstring& strRet );
|
|
void DisplayError(HWND hWnd, LPCTSTR pszMessage, LPCTSTR pszTitle, HRESULT hrErr );
|
|
BOOL Prefix_EnableWindow( HWND hDlg, UINT uCtrlID, BOOL bEnable );
|
|
BOOL IsAdmin();
|