Leaked source code of windows server 2003
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.

21 lines
581 B

  1. /*
  2. * M E M . C P P
  3. *
  4. * File system implementation of DAV allocators
  5. *
  6. * Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
  7. */
  8. #include "_davfs.h"
  9. // Use the default DAV allocator implementations
  10. //
  11. #define g_szMemDll L"staxmem.dll"
  12. #include <memx.h>
  13. // Mapping the exdav non-throwing allocators to something local
  14. //
  15. LPVOID __fastcall ExAlloc( UINT cb ) { return g_heap.Alloc( cb ); }
  16. LPVOID __fastcall ExRealloc( LPVOID pv, UINT cb ) { return g_heap.Realloc( pv, cb ); }
  17. VOID __fastcall ExFree( LPVOID pv ) { g_heap.Free( pv ); }