Commit 60982ea5bd
Changed files (2)
lib
std
os
windows
lib/std/os/windows/kernel32.zig
@@ -116,14 +116,14 @@ pub extern "kernel32" fn CreateNamedPipeW(
) callconv(WINAPI) HANDLE;
pub extern "kernel32" fn CreateProcessW(
- lpApplicationName: ?LPWSTR,
- lpCommandLine: LPWSTR,
+ lpApplicationName: ?LPCWSTR,
+ lpCommandLine: ?LPWSTR,
lpProcessAttributes: ?*SECURITY_ATTRIBUTES,
lpThreadAttributes: ?*SECURITY_ATTRIBUTES,
bInheritHandles: BOOL,
dwCreationFlags: DWORD,
lpEnvironment: ?*anyopaque,
- lpCurrentDirectory: ?LPWSTR,
+ lpCurrentDirectory: ?LPCWSTR,
lpStartupInfo: *STARTUPINFOW,
lpProcessInformation: *PROCESS_INFORMATION,
) callconv(WINAPI) BOOL;
lib/std/os/windows.zig
@@ -1727,14 +1727,14 @@ pub const CreateProcessError = error{
};
pub fn CreateProcessW(
- lpApplicationName: ?LPWSTR,
- lpCommandLine: LPWSTR,
+ lpApplicationName: ?LPCWSTR,
+ lpCommandLine: ?LPWSTR,
lpProcessAttributes: ?*SECURITY_ATTRIBUTES,
lpThreadAttributes: ?*SECURITY_ATTRIBUTES,
bInheritHandles: BOOL,
dwCreationFlags: DWORD,
lpEnvironment: ?*anyopaque,
- lpCurrentDirectory: ?LPWSTR,
+ lpCurrentDirectory: ?LPCWSTR,
lpStartupInfo: *STARTUPINFOW,
lpProcessInformation: *PROCESS_INFORMATION,
) CreateProcessError!void {