Correct CreateProcessW parameter types
This commit is contained in:
committed by
Veikka Tuominen
parent
d787b78d2c
commit
60982ea5bd
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user