local.h
上传用户:xhy777
上传日期:2007-02-14
资源大小:24088k
文件大小:1k
源码类别:

系统编程

开发平台:

Visual C++

  1. //
  2. // Local private header file
  3. #include "deskhtm.h"
  4. #include <regstr.h>
  5. #include "resource.h"
  6. #include "shdocvw.h"
  7. #ifdef WINNT
  8. #define g_fRunningOnNT TRUE
  9. #else
  10. #define g_fRunningOnNT FALSE
  11. #endif
  12. #define MAX_URL_STRING      INTERNET_MAX_URL_LENGTH
  13. // Use our private version of the OLE task allocator so we don't pull
  14. // in all of OLE32 just to do LocalAlloc and LocalFree!
  15. #define CoTaskMemFree       SHFree
  16. #define CoTaskMemAlloc      SHAlloc
  17. #define CoTaskMemRealloc    SHRealloc