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
21 lines
581 B
/*
|
|
* M E M . C P P
|
|
*
|
|
* File system implementation of DAV allocators
|
|
*
|
|
* Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
|
|
*/
|
|
|
|
#include "_davfs.h"
|
|
|
|
// Use the default DAV allocator implementations
|
|
//
|
|
|
|
#define g_szMemDll L"staxmem.dll"
|
|
#include <memx.h>
|
|
|
|
// Mapping the exdav non-throwing allocators to something local
|
|
//
|
|
LPVOID __fastcall ExAlloc( UINT cb ) { return g_heap.Alloc( cb ); }
|
|
LPVOID __fastcall ExRealloc( LPVOID pv, UINT cb ) { return g_heap.Realloc( pv, cb ); }
|
|
VOID __fastcall ExFree( LPVOID pv ) { g_heap.Free( pv ); }
|