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.
 
 
 
 
 
 

76 lines
1.4 KiB

/*++
Copyright (c) 1998-2000, Microsoft Corporation All rights reserved.
Module Name:
csrtables.c
Abstract:
This module implements functions that are used by the functions in tables.c
to communicate with csrss.
Author:
Michael Zoran (mzoran) 21-Jun-1998
Revision History:
--*/
//
// Include Files.
//
#include "nls.h"
#include "ntwow64n.h"
////////////////////////////////////////////////////////////////////////////
//
// CsrBasepNlsSetUserInfo
//
////////////////////////////////////////////////////////////////////////////
NTSTATUS CsrBasepNlsCreateSection(
IN UINT uiType,
IN LCID Locale,
OUT PHANDLE phSection)
{
#if defined(BUILD_WOW6432)
return ( NtWow64CsrBasepNlsCreateSection( uiType,
Locale,
phSection ));
#else
BASE_API_MSG m;
PBASE_NLS_CREATE_SECTION_MSG a = &m.u.NlsCreateSection;
a->Locale = Locale;
a->uiType = uiType;
CsrClientCallServer( (PCSR_API_MSG)&m,
NULL,
CSR_MAKE_API_NUMBER(BASESRV_SERVERDLL_INDEX,
BasepNlsCreateSection),
sizeof(*a) );
//
// Save the handle to the new section.
//
*phSection = a->hNewSection;
return (m.ReturnValue);
#endif
}