emutil.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. /*****************************************************************************
  2.     emutil.h
  3.     Owner: SMueller
  4.     Copyright (c) 1997 Microsoft Corporation
  5.     Miscellaneous event monitor utilities
  6. *****************************************************************************/
  7. #ifndef _EMUTIL_H
  8. #define _EMUTIL_H
  9. #include "emrule.h"
  10. MSOEXTERN_C_BEGIN   // ***************** Begin extern "C" ********************
  11. MSOCDECLAPI_(int) MsoIMatchIrul(IRUL irul, ...);
  12. MSOAPI_(MSORULTK *) MsoPrultkFromDtk(int dtk, MSORULTKH* ptkh);
  13. MSOAPI_(int) MsoDtkFromTokenDtki(int dtki, MSORULTKH* ptkh);
  14. MSOAPI_(int) MsoDtkiFromTokenDtk(int dtk, MSORULTKH* ptkh);
  15. MSOAPI_(int) MsoFTokenWas(int dtkStart, int irul, MSORULTKH* ptkh);
  16. MSOAPI_(long) MsoCpLimOfDtk(int dtk, MSORULTKH* ptkh);
  17. MSOAPI_(int) MsoDtkFindPrevToken(int dtkStart, int irul, MSORULTKH *ptkh);
  18. // Get cpFirst of token from index to history
  19. #define MsoCpFirstOfDtk(dtk, ptkh) 
  20.         (MsoPrultkFromDtk(dtk, ptkh)->cpFirst)
  21. #ifdef DEBUG
  22. #if defined(OFFICE_BUILD)  ||  defined(STANDALONE_WORD)
  23. #include "msosdm.h"
  24. MSOAPI_(const char *) MsoSzFromDlmDebug(DLM dlm);
  25. #endif /* OFFICE_BUILD  ||  STANDALONE_WORD */
  26. MSOAPI_(const char *) MsoSzRulName(IRUL irul);
  27. #endif // DEBUG
  28. MSOEXTERN_C_END     // ****************** End extern "C" *********************
  29. #endif // !_EMUTIL_H