windows-nt/Source/XPSP1/NT/sdktools/profiler/cap.h

31 lines
498 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef _CAP_H_
#define _CAP_H_
//
// Constant declarations
//
#define MAX_CAP_LEVEL 0x10
#define MAX_CAP_ITERATION 0x03
#define CAP_BUFFER_SIZE MAX_CAP_LEVEL * 2
//
// Structure definitions
//
typedef struct _CAPFILTER
{
DWORD dwIterationLock;
DWORD dwIterationLevel;
DWORD dwRunLength;
DWORD dwCursor;
DWORD dwArray[CAP_BUFFER_SIZE];
} CAPFILTER, *PCAPFILTER;
//
// Function definitions
//
BOOL
AddToCap(PCAPFILTER pCapFilter,
DWORD dwAddress);
#endif //_CAP_H_