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.

69 lines
1.6 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: csrhlpr.h
  3. *
  4. * Copyright (c) 1985 - 1999, Microsoft Corporation
  5. *
  6. * This header file contains the prototypes for functions that marshel data
  7. * for LPC from USER32 to CSR and are not found anywhere else.
  8. *
  9. * History:
  10. * 10-21-98 mzoran Created.
  11. \***************************************************************************/
  12. NTSTATUS
  13. APIENTRY
  14. CallUserpExitWindowsEx(
  15. IN UINT uFlags,
  16. OUT PBOOL pfSuccess);
  17. NTSTATUS
  18. APIENTRY
  19. CallUserpRegisterLogonProcess(
  20. IN DWORD dwProcessId);
  21. VOID
  22. APIENTRY
  23. Logon(
  24. IN BOOL fLogon);
  25. VOID
  26. APIENTRY
  27. CsrWin32HeapFail(
  28. IN DWORD dwFlags,
  29. IN BOOL bFail);
  30. UINT
  31. APIENTRY
  32. CsrWin32HeapStat(
  33. PDBGHEAPSTAT phs,
  34. DWORD dwLen);
  35. NTSTATUS
  36. APIENTRY
  37. UserConnectToServer(
  38. IN PWSTR ObjectDirectory,
  39. IN OUT PUSERCONNECT ConnectionInformation,
  40. IN OUT PULONG ConnectionInformationLength OPTIONAL,
  41. OUT PBOOLEAN CalledFromServer OPTIONAL
  42. );
  43. #if !defined(BUILD_WOW6432) || defined(_WIN64)
  44. _inline
  45. NTSTATUS
  46. UserConnectToServer(
  47. IN PWSTR ObjectDirectory,
  48. IN OUT PUSERCONNECT ConnectionInformation,
  49. IN OUT PULONG ConnectionInformationLength OPTIONAL,
  50. OUT PBOOLEAN CalledFromServer OPTIONAL
  51. ) {
  52. return CsrClientConnectToServer(ObjectDirectory,
  53. USERSRV_SERVERDLL_INDEX,
  54. ConnectionInformation,
  55. ConnectionInformationLength,
  56. CalledFromServer);
  57. }
  58. #endif