cnctnpt.cpp
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 0k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. #include "stdafx.h"
  2. #pragma hdrstop
  3. //
  4. //  Route the CoTaskMemAlloc stuff to SHAlloc stuff (which will in turn
  5. //  call the OLE task allocator as necessary).
  6. //
  7. #undef CoTaskMemAlloc
  8. #undef CoTaskMemFree
  9. #undef CoTaskMemRealloc
  10. #define CoTaskMemAlloc      SHAlloc
  11. #define CoTaskMemFree       SHFree
  12. #define CoTaskMemRealloc    SHRealloc
  13. #include "....libcnctnpt.cpp"