Windows2003-3790/inetsrv/pop3/admin/snapin/stdafx.h
2020-09-30 16:53:55 +02:00

42 lines
1.0 KiB
C++

#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();