/************************************************************************ Copyright (c) 2000 - 2000 Microsoft Corporation Module Name : stdafx.h Abstract : Main header file for QMGR. Author : Revision History : ***********************************************************************/ #pragma once #if !defined(__QMGR_QMGR_STDAFX__) #define INITGUID // Global Headers #include #include #include #include #include #include #include //shell related #include //for PathFindFileName #include //for CGID_ShellServiceObject #include #include #include #include #ifdef USE_WININET #include #else #include "winhttp.h" #include "inethttp.h" #endif #include #include #include #include #include #include #include #include #include "qmgrlib.h" #include "metadata.h" #include "bits.h" #include "bits1_5.h" #include "locks.hxx" #include "caddress.h" #include "cmarshal.h" #include "ccred.h" #include "proxy.h" #include "downloader.h" #include "uploader.h" #include "csd.h" #include "cunknown.h" #include "csens.h" #include "logontable.h" #include "tasksched.h" #include "cfile.h" #include "cerror.h" #include "cjob.h" #include "cenum.h" #include "drizcpat.h" #include "cmanager.h" using namespace std; #define GUIDSTR_MAX (1+ 8 + 1 + 4 + 1 + 4 + 1 + 4 + 1 + 12 + 1 + 1) inline void SafeFreeBSTR( BSTR & p) { if (NULL != (p)) { SysFreeString(p); p = NULL; } } #define QM_STATUS_FILE_ERROR 0x00000004# // Global vars extern long g_cLocks; extern long g_cComponents; extern HINSTANCE g_hinstDll; // Macros #ifndef ARRAYSIZE #define ARRAYSIZE(x) (sizeof((x))/sizeof((x)[0])) #endif HRESULT GlobalLockServer(BOOL fLock); #endif //__QMGR_QMGR_STDAFX__