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.
 
 
 
 
 
 

67 lines
1.4 KiB

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
csrterm.c
Abstract:
This module implements functions that are used by the Terminal server support functions
to communicate with csrss.
Author:
Michael Zoran (mzoran) 21-Jun-1998
Revision History:
--*/
#include "basedll.h"
NTSTATUS
CsrBasepSetTermsrvAppInstallMode(
BOOL bState
)
{
#if defined(BUILD_WOW6432)
return NtWow64CsrBasepSetTermsrvAppInstallMode(bState);
#else
BASE_API_MSG m;
PBASE_SET_TERMSRVAPPINSTALLMODE c = &m.u.SetTermsrvAppInstallMode;
c->bState = bState;
return CsrClientCallServer((PCSR_API_MSG)&m, NULL,
CSR_MAKE_API_NUMBER(BASESRV_SERVERDLL_INDEX,
BasepSetTermsrvAppInstallMode),
sizeof( *c ));
#endif
}
NTSTATUS
CsrBasepSetClientTimeZoneInformation(
IN PBASE_SET_TERMSRVCLIENTTIMEZONE c
)
{
#if defined(BUILD_WOW6432)
return NtWow64CsrBasepSetClientTimeZoneInformation(c);
#else
BASE_API_MSG m;
RtlCopyMemory(&m.u.SetTermsrvClientTimeZone, c, sizeof(*c));
return CsrClientCallServer((PCSR_API_MSG)&m, NULL,
CSR_MAKE_API_NUMBER(BASESRV_SERVERDLL_INDEX,
BasepSetTermsrvClientTimeZone),
sizeof( *c ));
#endif
}