Leaked source code of windows server 2003
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
947 B

  1. /*-----------------------------------------
  2. //
  3. // WABExe.h -- externs
  4. //
  5. //
  6. //-----------------------------------------*/
  7. extern HINSTANCE hInst; // this module's resources instance handle
  8. extern HINSTANCE hInstApp; // this module's instance handle
  9. HRESULT CertFileDisplay(HWND hwnd,
  10. LPWABOBJECT lpWABObject,
  11. LPADRBOOK lpAdrBook,
  12. LPTSTR lpFileName);
  13. extern const UCHAR szEmpty[];
  14. #ifdef DEBUG
  15. #define DebugTrace DebugTraceFn
  16. #define IFTRAP(x) x
  17. #define Assert(t) IFTRAP(((t) ? 0 : DebugTrapFn(1,__FILE__,__LINE__,"Assertion Failure: " #t),0))
  18. #else
  19. #define DebugTrace 1?0:DebugTraceFn
  20. #define IFTRAP(x) 0
  21. #define Assert(t)
  22. #endif
  23. /* Debugging Functions ---------------------------------------------------- */
  24. VOID FAR CDECL DebugTrapFn(int fFatal, char *pszFile, int iLine, char *pszFormat, ...);
  25. VOID FAR CDECL DebugTraceFn(char *pszFormat, ...);