windows-nt/Source/XPSP1/NT/base/win32/client/csrpathm.c
2020-09-26 16:20:57 +08:00

50 lines
858 B
C

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
csrpathm.c
Abstract:
This module implements functions that are used by the Win32 path functions
to communicate with csrss.
Author:
Michael Zoran (mzoran) 21-Jun-1998
Revision History:
--*/
#include "basedll.h"
UINT
CsrBasepGetTempFile(
VOID
)
{
#if defined(BUILD_WOW6432)
return NtWow64CsrBasepGetTempFile();
#else
BASE_API_MSG m;
PBASE_GETTEMPFILE_MSG a = &m.u.GetTempFile;
CsrClientCallServer( (PCSR_API_MSG)&m,
NULL,
CSR_MAKE_API_NUMBER( BASESRV_SERVERDLL_INDEX,
BasepGetTempFile
),
sizeof( *a )
);
return (UINT)m.ReturnValue;
#endif
}