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.
26 lines
459 B
26 lines
459 B
|
|
#include "precomp.h"
|
|
#include <arena.h>
|
|
#include <corex.h>
|
|
|
|
static class WbemComnInitializer
|
|
{
|
|
public:
|
|
|
|
WbemComnInitializer()
|
|
{
|
|
CWin32DefaultArena::WbemHeapInitialize( GetProcessHeap() );
|
|
}
|
|
|
|
} g_WbemComnInitializer;
|
|
|
|
void* __cdecl operator new ( size_t size )
|
|
{
|
|
return CWin32DefaultArena::WbemMemAlloc( size );
|
|
}
|
|
|
|
void __cdecl operator delete ( void* pv )
|
|
{
|
|
CWin32DefaultArena::WbemMemFree( pv );
|
|
}
|
|
|