Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
974 B

  1. /* File: _dinterp.h */
  2. /**************************************************************************/
  3. /***** DETECT COMPONENT - Header file for detect interpreter.
  4. /**************************************************************************/
  5. /* Minimum good value returned by load DLL function */
  6. #define hLibMin ((HANDLE)32)
  7. /* Detect command constants */
  8. #define szDetSym "?"
  9. #define iszDetSym 1
  10. #define iszLib 2
  11. #define iszCmd 3
  12. #define iszArg 4
  13. #define cFieldDetMin 4
  14. /* Default command return value buffer size */
  15. #define cbValBufDef 1024
  16. /* NOTE (TEST): Defining cbValBufDef as 1 causes a PbRealloc
  17. ** for each detect command. This can be useful for testing.
  18. */
  19. /* Function pointer for detect commands */
  20. typedef CB ( APIENTRY *PFNCMD)(RGSZ, USHORT, SZ, CB);
  21. #define pfncmdNull ((PFNCMD)NULL)
  22. BOOL APIENTRY FDetectInfSection(HWND, SZ);
  23. BOOL APIENTRY FLoadDetectLib(SZ, SZ, HANDLE *);
  24. DRC APIENTRY DrcGetDetectValue(SZ *, PFNCMD, RGSZ, CB); // 1632