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.

56 lines
1.5 KiB

  1. #ifndef _TOKLIST_H_
  2. #define _TOKLIST_H_
  3. #include "tokenapi.h"
  4. typedef struct _TOKENDELTAINFO
  5. {
  6. TOKEN DeltaToken;
  7. struct _TOKENDELTAINFO FAR * pNextTokenDelta;
  8. } TOKENDELTAINFO;
  9. typedef struct _TRANSLIST
  10. {
  11. TCHAR * sz;
  12. struct _TRANSLIST * pPrev;
  13. struct _TRANSLIST * pNext;
  14. } TRANSLIST;
  15. typedef struct _TOKDATA
  16. {
  17. long lMtkPointer;
  18. HANDLE hToken;
  19. }TOKDATA, *PTOKDATA, NEAR *NPTOKDATA, FAR *LPTOKDATA;
  20. int MatchToken(TOKEN tToken,
  21. TCHAR * szFindType,
  22. TCHAR *szFindText,
  23. WORD wStatus,
  24. WORD wStatusMask);
  25. int DoTokenSearch (TCHAR *szFindType,
  26. TCHAR *szFindText,
  27. WORD wStatus,
  28. WORD wStatusMask,
  29. BOOL fDirection,
  30. BOOL fSkipFirst);
  31. int DoTokenSearchForRledit (TCHAR *szFindType,
  32. TCHAR *szFindText,
  33. WORD wStatus,
  34. WORD wStatusMask,
  35. BOOL fDirection,
  36. BOOL fSkipFirst);
  37. TCHAR FAR *FindDeltaToken(TOKEN tToken,
  38. TOKENDELTAINFO FAR *pTokenDeltaInfo,
  39. UINT wStatus);
  40. TOKENDELTAINFO FAR *UpdateTokenDeltaInfo(TOKEN *pDeltaToken);
  41. TOKENDELTAINFO FAR *InsertTokMtkList(FILE * fpTokFile, FILE *fpMtkFile);
  42. void GenStatusLine(TOKEN *pTok);
  43. #endif // _TOKLIST_H_