windows-nt/Source/XPSP1/NT/sdktools/profiler/cap.h
2020-09-26 16:20:57 +08:00

31 lines
498 B
C

#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_