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.

59 lines
1.3 KiB

  1. /***************************************************************************
  2. * VERPRIV.H
  3. *
  4. * Private include file for the version stamping API. Includes
  5. * WINDOWS.H if this is being made to be a DLL.
  6. *
  7. ***************************************************************************/
  8. #ifndef VERPRIV_H
  9. #define VERPRIV_H
  10. #undef DBCS
  11. #include <stdlib.h>
  12. #include <windows.h>
  13. #define SEEK_START 0
  14. #define SEEK_CURRENT 1
  15. #define SEEK_END 2
  16. /* ----- Function prototypes ----- */
  17. #define FileClose(a) LZClose(a)
  18. #define FileRead(a, b, c) LZRead((a), (b), (c))
  19. #define FileSeek(a, b, c) LZSeek((a), (b), (c))
  20. BOOL
  21. APIENTRY
  22. VerpQueryValue(
  23. const LPVOID pb,
  24. LPVOID lpSubBlockX,
  25. INT nIndex,
  26. LPVOID *lplpKey,
  27. LPVOID *lplpBuffer,
  28. PUINT puLen,
  29. BOOL bUnicodeNeeded
  30. );
  31. #endif /* VERPRIV_H */
  32. #if 0
  33. #define LOG_DATA 1
  34. #endif
  35. #ifdef LOG_DATA
  36. # pragma message(__FILE__"(43) : warning !!!! : remove debug code before checking in" )
  37. extern void LogThisData( DWORD id, char *szMsg, DWORD dwLine, DWORD dwData );
  38. # define LogData( sz, dw1, dw2 ) LogThisData(GetCurrentThreadId(), sz " ", dw1, dw2 )
  39. #else
  40. # define LogData( sz, dw1, dw2 )
  41. #endif
  42. #ifndef ARRAYSIZE
  43. # define ARRAYSIZE(sz) (sizeof(sz) / sizeof((sz)[0]))
  44. #endif