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.

30 lines
916 B

  1. PVOID Alloc(ULONG);
  2. ULONG GetAllocSize(PVOID);
  3. BOOL Free(PVOID);
  4. BOOL LUID2String(LUID, LPSTR, UINT);
  5. BOOL Time2String(TIME, LPSTR, UINT);
  6. BOOL TokenType2String(TOKEN_TYPE, LPSTR, UINT);
  7. BOOL ImpersonationLevel2String(SECURITY_IMPERSONATION_LEVEL, LPSTR, UINT);
  8. BOOL Dynamic2String(ULONG, LPSTR, UINT);
  9. INT AddItem(HWND, INT, LPSTR, LPARAM, BOOL);
  10. INT FindSid(HWND, INT, PSID, BOOL);
  11. BOOL SetHooks(HWND);
  12. BOOL ReleaseHooks(HWND);
  13. // Useful macros
  14. #define AddLBItem(hDlg, ControlID, string, data) \
  15. (AddItem(hDlg, ControlID, string, data, FALSE))
  16. #define AddCBItem(hDlg, ControlID, string, data) \
  17. (AddItem(hDlg, ControlID, string, data, TRUE))
  18. #define FindLBSid(hDlg, ControlID, data) \
  19. (FindSid(hDlg, ControlID, data, FALSE))
  20. #define FindCBSid(hDlg, ControlID, data) \
  21. (FindSid(hDlg, ControlID, data, TRUE))