#include "atltest.h"
#include <atlcoll.h>
Go to the source code of this file.
◆ START_TEST()
Definition at line 87 of file CHeapPtrList.cpp.
88{
90 ok(
SUCCEEDED(
hr),
"Expected CoRegisterMallocSpy to succeed, but it failed: 0x%lx\n",
hr);
91
92 {
101 ok(tmp.m_pData ==
NULL,
"Expected m_pData to be transfered\n");
105#if defined(_MSC_VER) && !defined(__clang__)
107#else
110#endif
112 }
114
116 ok(
SUCCEEDED(
hr),
"Expected CoRevokeMallocSpy to succeed, but it failed: 0x%lx\n",
hr);
117}
static CHeapPtrListMallocSpy g_Spy
static LONG g_OpenAllocations
POSITION AddTail(INARGTYPE element)
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
HRESULT WINAPI CoRevokeMallocSpy(void)
HRESULT WINAPI CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy)
static void test_Alloc(void)
◆ test_Alloc()
Definition at line 16 of file CHeapPtrList.cpp.
17{
21}
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
◆ g_OpenAllocations
LONG g_OpenAllocations = 0 |
|
static |
◆ g_Reallocations
◆ g_Spy