00001 00002 /****************************** Module Header ******************************\ 00003 * Module Name: ctxapi.c 00004 * 00005 * Copyright (c) 1985 - 1999, Microsoft Corporation 00006 * 00007 * 00008 * 00009 \***************************************************************************/ 00010 00011 #include "precomp.h" 00012 #pragma hdrstop 00013 00014 /************************************************************** 00015 * CtxUserGetWinstationInfo 00016 * 00017 * This functin is called to get the winstation information such as Protocol name, 00018 * Audio driver name etc. .All these information are passed in by client at 00019 * connection time. 00020 * 00021 * 00022 ****************************************************************/ 00023 00024 BOOL 00025 CtxUserGetWinstationInfo(PWINSTATIONINFO pInfo) 00026 { 00027 NTSTATUS status; 00028 00029 status = NtUserRemoteGetWinstationInfo((PWSXINFO)pInfo); 00030 00031 if (NT_SUCCESS(status)) { 00032 return TRUE; 00033 } 00034 else { 00035 return FALSE; 00036 } 00037 }