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.

32 lines
1.0 KiB

  1. /* This include file contains the functions needed by debuggers which run
  2. * under windows.
  3. */
  4. /* USER functions */
  5. BOOL FAR PASCAL QuerySendMessage(HANDLE h1, HANDLE h2, HANDLE h3, LPMSG lpmsg);
  6. BOOL FAR PASCAL LockInput(HANDLE h1, HWND hwndInput, BOOL fLock);
  7. LONG FAR PASCAL GetSystemDebugState(void);
  8. /* Flags returned by GetSystemDebugState.
  9. */
  10. #define SDS_MENU 0x0001
  11. #define SDS_SYSMODAL 0x0002
  12. #define SDS_NOTASKQUEUE 0x0004
  13. /* Kernel procedures */
  14. void FAR PASCAL DirectedYield(HANDLE hTask);
  15. /* Debug hook to support debugging through other hooks.
  16. */
  17. #define WH_DEBUG 9
  18. typedef struct tagDEBUGHOOKSTRUCT
  19. {
  20. WORD hAppHookTask; //"hTask" of the task that installed the app hook
  21. DWORD dwUnUsed; // This field is unused.
  22. LONG lAppHooklParam; //"lParam" of the App hook.
  23. WORD wAppHookwParam; //"wParam" of the App hook.
  24. int iAppHookCode; //"iCode" of the App hook.
  25. } DEBUGHOOKSTRUCT;
  26. typedef DEBUGHOOKSTRUCT FAR *LPDEBUGHOOKSTRUCT;