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.

49 lines
858 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. csrpathm.c
  5. Abstract:
  6. This module implements functions that are used by the Win32 path functions
  7. to communicate with csrss.
  8. Author:
  9. Michael Zoran (mzoran) 21-Jun-1998
  10. Revision History:
  11. --*/
  12. #include "basedll.h"
  13. UINT
  14. CsrBasepGetTempFile(
  15. VOID
  16. )
  17. {
  18. #if defined(BUILD_WOW6432)
  19. return NtWow64CsrBasepGetTempFile();
  20. #else
  21. BASE_API_MSG m;
  22. PBASE_GETTEMPFILE_MSG a = &m.u.GetTempFile;
  23. CsrClientCallServer( (PCSR_API_MSG)&m,
  24. NULL,
  25. CSR_MAKE_API_NUMBER( BASESRV_SERVERDLL_INDEX,
  26. BasepGetTempFile
  27. ),
  28. sizeof( *a )
  29. );
  30. return (UINT)m.ReturnValue;
  31. #endif
  32. }