Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:46

0001 //
0002 // Copyright (c) 2012 Artyom Beilis (Tonkikh)
0003 // Copyright (c) 2022 Alexander Grund
0004 //
0005 // Distributed under the Boost Software License, Version 1.0.
0006 // https://www.boost.org/LICENSE_1_0.txt
0007 
0008 #ifndef BOOST_NOWIDE_WINDOWS_HPP_INCLUDED
0009 #define BOOST_NOWIDE_WINDOWS_HPP_INCLUDED
0010 
0011 #ifdef BOOST_USE_WINDOWS_H
0012 #include <windows.h>
0013 // (Usually) included by windows.h
0014 #include <shellapi.h>
0015 #else
0016 
0017 // When BOOST_USE_WINDOWS_H is not defined we declare the function prototypes to avoid including windows.h
0018 
0019 extern "C" {
0020 
0021 // From windows.h
0022 
0023 __declspec(dllimport) wchar_t* __stdcall GetEnvironmentStringsW(void);
0024 __declspec(dllimport) int __stdcall FreeEnvironmentStringsW(wchar_t*);
0025 __declspec(dllimport) wchar_t* __stdcall GetCommandLineW(void);
0026 __declspec(dllimport) unsigned long __stdcall GetLastError();
0027 __declspec(dllimport) void* __stdcall LocalFree(void*);
0028 __declspec(dllimport) int __stdcall SetEnvironmentVariableW(const wchar_t*, const wchar_t*);
0029 __declspec(dllimport) unsigned long __stdcall GetEnvironmentVariableW(const wchar_t*, wchar_t*, unsigned long);
0030 
0031 // From shellapi.h
0032 
0033 __declspec(dllimport) wchar_t** __stdcall CommandLineToArgvW(const wchar_t*, int*);
0034 }
0035 
0036 #endif
0037 
0038 #endif