mirror of https://github.com/tongzx/nt5src
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.
48 lines
1.3 KiB
48 lines
1.3 KiB
/*****************************************************************************
|
|
emutil.h
|
|
|
|
Owner: SMueller
|
|
Copyright (c) 1997 Microsoft Corporation
|
|
|
|
Miscellaneous event monitor utilities
|
|
*****************************************************************************/
|
|
|
|
#ifndef _EMUTIL_H
|
|
#define _EMUTIL_H
|
|
|
|
#include "emrule.h"
|
|
|
|
MSOEXTERN_C_BEGIN // ***************** Begin extern "C" ********************
|
|
|
|
MSOCDECLAPI_(int) MsoIMatchIrul(IRUL irul, ...);
|
|
MSOAPI_(MSORULTK *) MsoPrultkFromDtk(int dtk, MSORULTKH* ptkh);
|
|
MSOAPI_(int) MsoDtkFromTokenDtki(int dtki, MSORULTKH* ptkh);
|
|
MSOAPI_(int) MsoDtkiFromTokenDtk(int dtk, MSORULTKH* ptkh);
|
|
MSOAPI_(int) MsoFTokenWas(int dtkStart, int irul, MSORULTKH* ptkh);
|
|
MSOAPI_(long) MsoCpLimOfDtk(int dtk, MSORULTKH* ptkh);
|
|
MSOAPI_(int) MsoDtkFindPrevToken(int dtkStart, int irul, MSORULTKH *ptkh);
|
|
|
|
// Get cpFirst of token from index to history
|
|
#define MsoCpFirstOfDtk(dtk, ptkh) \
|
|
(MsoPrultkFromDtk(dtk, ptkh)->cpFirst)
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
#if defined(OFFICE_BUILD) || defined(STANDALONE_WORD)
|
|
|
|
#include "msosdm.h"
|
|
|
|
MSOAPI_(const char *) MsoSzFromDlmDebug(DLM dlm);
|
|
|
|
#endif /* OFFICE_BUILD || STANDALONE_WORD */
|
|
|
|
MSOAPI_(const char *) MsoSzRulName(IRUL irul);
|
|
|
|
#endif // DEBUG
|
|
|
|
MSOEXTERN_C_END // ****************** End extern "C" *********************
|
|
|
|
#endif // !_EMUTIL_H
|
|
|