windows-nt/Source/XPSP1/NT/net/tapi/skywalker/hidtsp/mymem.h

58 lines
920 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/* Copyright (c) 1999 Microsoft Corporation */
#ifndef _MYMEM_H
#define _MYMEM_H
#include <windows.h>
#include <winbase.h>
#include <setupapi.h>
#include <TCHAR.h>
typedef struct _PHONESP_MEMINFO
{
struct _PHONESP_MEMINFO * pNext;
struct _PHONESP_MEMINFO * pPrev;
DWORD dwSize;
DWORD dwLine;
PSTR pszFile;
DWORD dwAlign;
} PHONESP_MEMINFO, *PPHONESP_MEMINFO;
#if DBG
#define MemAlloc( __size__ ) MemAllocReal( __size__, __LINE__, __FILE__ )
LPVOID
WINAPI
MemAllocReal(
DWORD dwSize,
DWORD dwLine,
PSTR pszFile
);
VOID
DumpMemoryList();
#else
#define MemAlloc( __size__ ) MemAllocReal( __size__ )
LPVOID
WINAPI
MemAllocReal(
DWORD dwSize
);
#endif
VOID
WINAPI
MemFree(
LPVOID p
);
#endif