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.

77 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. dlltask.c
  5. Abstract:
  6. This module implements Csr DLL tasking routines
  7. Author:
  8. Mark Lucovsky (markl) 13-Nov-1990
  9. Revision History:
  10. --*/
  11. #pragma warning(disable:4201) // nameless struct/union
  12. #include "csrdll.h"
  13. NTSTATUS
  14. CsrNewThread (
  15. VOID
  16. )
  17. /*++
  18. Routine Description:
  19. This function is called by each new thread (except the first thread in
  20. a process). Its function is to call the subsystem to notify it that
  21. a new thread is starting.
  22. Arguments:
  23. None.
  24. Return Value:
  25. Status Code from either client or server
  26. --*/
  27. {
  28. return NtRegisterThreadTerminatePort (CsrPortHandle);
  29. }
  30. NTSTATUS
  31. CsrIdentifyAlertableThread (
  32. VOID
  33. )
  34. {
  35. return STATUS_SUCCESS;
  36. }
  37. NTSTATUS
  38. CsrSetPriorityClass (
  39. IN HANDLE ProcessHandle,
  40. IN OUT PULONG PriorityClass
  41. )
  42. {
  43. NTSTATUS Status;
  44. UNREFERENCED_PARAMETER( ProcessHandle );
  45. UNREFERENCED_PARAMETER( PriorityClass );
  46. Status = STATUS_INVALID_PARAMETER;
  47. return Status;
  48. }