diff options
author | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
commit | a990de90fe41456a23e58bd087d2f107d321f3a1 (patch) | |
tree | 15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/winapi/src/um/processenv.rs | |
parent | 3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff) | |
download | fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip |
Deleted vendor folder
Diffstat (limited to 'vendor/winapi/src/um/processenv.rs')
-rw-r--r-- | vendor/winapi/src/um/processenv.rs | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/vendor/winapi/src/um/processenv.rs b/vendor/winapi/src/um/processenv.rs deleted file mode 100644 index 8ecb5e0..0000000 --- a/vendor/winapi/src/um/processenv.rs +++ /dev/null @@ -1,98 +0,0 @@ -// Licensed under the Apache License, Version 2.0 -// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. -// All files in the project carrying such notice may not be copied, modified, or distributed -// except according to those terms. -use shared::minwindef::{BOOL, DWORD}; -use um::winnt::{HANDLE, LPCH, LPCSTR, LPCWSTR, LPSTR, LPWCH, LPWSTR, PHANDLE}; -extern "system" { - pub fn GetEnvironmentStrings() -> LPCH; - pub fn GetEnvironmentStringsW() -> LPWCH; - pub fn SetEnvironmentStringsW( - NewEnvironment: LPWCH, - ) -> BOOL; - pub fn FreeEnvironmentStringsA( - penv: LPCH, - ) -> BOOL; - pub fn FreeEnvironmentStringsW( - penv: LPWCH, - ) -> BOOL; - pub fn GetStdHandle( - nStdHandle: DWORD, - ) -> HANDLE; - pub fn SetStdHandle( - nStdHandle: DWORD, - hHandle: HANDLE, - ) -> BOOL; - pub fn SetStdHandleEx( - nStdHandle: DWORD, - hHandle: HANDLE, - phPrevValue: PHANDLE, - ) -> BOOL; - pub fn GetCommandLineA() -> LPSTR; - pub fn GetCommandLineW() -> LPWSTR; - pub fn GetEnvironmentVariableA( - lpName: LPCSTR, - lpBuffer: LPSTR, - nSize: DWORD, - ) -> DWORD; - pub fn GetEnvironmentVariableW( - lpName: LPCWSTR, - lpBuffer: LPWSTR, - nSize: DWORD, - ) -> DWORD; - pub fn SetEnvironmentVariableA( - lpName: LPCSTR, - lpValue: LPCSTR, - ) -> BOOL; - pub fn SetEnvironmentVariableW( - lpName: LPCWSTR, - lpValue: LPCWSTR, - ) -> BOOL; - pub fn ExpandEnvironmentStringsA( - lpSrc: LPCSTR, - lpDst: LPSTR, - nSize: DWORD, - ) -> DWORD; - pub fn ExpandEnvironmentStringsW( - lpSrc: LPCWSTR, - lpDst: LPWSTR, - nSize: DWORD, - ) -> DWORD; - pub fn SetCurrentDirectoryA( - lpPathName: LPCSTR, - ) -> BOOL; - pub fn SetCurrentDirectoryW( - lpPathName: LPCWSTR, - ) -> BOOL; - pub fn GetCurrentDirectoryA( - nBufferLength: DWORD, - lpBuffer: LPSTR, - ) -> DWORD; - pub fn GetCurrentDirectoryW( - nBufferLength: DWORD, - lpBuffer: LPWSTR, - ) -> DWORD; - pub fn SearchPathW( - lpPath: LPCWSTR, - lpFileName: LPCWSTR, - lpExtension: LPCWSTR, - nBufferLength: DWORD, - lpBuffer: LPWSTR, - lpFilePart: *mut LPWSTR, - ) -> DWORD; - pub fn SearchPathA( - lpPath: LPCSTR, - lpFileName: LPCSTR, - lpExtension: LPCSTR, - nBufferLength: DWORD, - lpBuffer: LPSTR, - lpFilePart: *mut LPSTR, - ) -> DWORD; - pub fn NeedCurrentDirectoryForExePathA( - ExeName: LPCSTR, - ) -> BOOL; - pub fn NeedCurrentDirectoryForExePathW( - ExeName: LPCWSTR, - ) -> BOOL; -} |