From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/winapi/src/um/processenv.rs | 98 -------------------------------------- 1 file changed, 98 deletions(-) delete mode 100644 vendor/winapi/src/um/processenv.rs (limited to 'vendor/winapi/src/um/processenv.rs') 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 -// or the MIT license -// , 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; -} -- cgit v1.2.3