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.

37 lines
883 B

  1. /****************************** Module Header ******************************\
  2. * Module Name: ctxapi.c
  3. *
  4. * Copyright (c) 1985 - 1999, Microsoft Corporation
  5. *
  6. *
  7. *
  8. \***************************************************************************/
  9. #include "precomp.h"
  10. #pragma hdrstop
  11. /**************************************************************
  12. * CtxUserGetWinstationInfo
  13. *
  14. * This functin is called to get the winstation information such as Protocol name,
  15. * Audio driver name etc. .All these information are passed in by client at
  16. * connection time.
  17. *
  18. *
  19. ****************************************************************/
  20. BOOL
  21. CtxUserGetWinstationInfo(PWINSTATIONINFO pInfo)
  22. {
  23. NTSTATUS status;
  24. status = NtUserRemoteGetWinstationInfo((PWSXINFO)pInfo);
  25. if (NT_SUCCESS(status)) {
  26. return TRUE;
  27. }
  28. else {
  29. return FALSE;
  30. }
  31. }