Source code of Windows XP (NT5)
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.

42 lines
545 B

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. psxdbg.c
  5. Abstract:
  6. This module implements debugger support routines for
  7. posix.
  8. Author:
  9. Mark Lucovsky (markl) 05-Feb-1990
  10. Revision History:
  11. --*/
  12. #include "psxsrv.h"
  13. NTSTATUS
  14. PsxpDebugUiLookup(
  15. IN PCLIENT_ID AppClientId,
  16. OUT PCLIENT_ID DebugUiClientId
  17. )
  18. {
  19. PPSX_PROCESS p;
  20. p = PsxLocateProcessByClientId(AppClientId);
  21. ASSERT(p && p->ProcessIsBeingDebugged);
  22. *DebugUiClientId = p->DebugUiClientId;
  23. return STATUS_SUCCESS;
  24. }