windows-nt/Source/XPSP1/NT/base/ntsetup/legacy/dll/_dinterp.h

32 lines
974 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/* File: _dinterp.h */
/**************************************************************************/
/***** DETECT COMPONENT - Header file for detect interpreter.
/**************************************************************************/
/* Minimum good value returned by load DLL function */
#define hLibMin ((HANDLE)32)
/* Detect command constants */
#define szDetSym "?"
#define iszDetSym 1
#define iszLib 2
#define iszCmd 3
#define iszArg 4
#define cFieldDetMin 4
/* Default command return value buffer size */
#define cbValBufDef 1024
/* NOTE (TEST): Defining cbValBufDef as 1 causes a PbRealloc
** for each detect command. This can be useful for testing.
*/
/* Function pointer for detect commands */
typedef CB ( APIENTRY *PFNCMD)(RGSZ, USHORT, SZ, CB);
#define pfncmdNull ((PFNCMD)NULL)
BOOL APIENTRY FDetectInfSection(HWND, SZ);
BOOL APIENTRY FLoadDetectLib(SZ, SZ, HANDLE *);
DRC APIENTRY DrcGetDetectValue(SZ *, PFNCMD, RGSZ, CB); // 1632