authorgravatar for hershkrishna@protonmail.chrageoholic <hershkrishna@protonmail.ch> 2020-11-04 16:53:05-06:00
committergravatar for hershkrishna@protonmail.chrageoholic <hershkrishna@protonmail.ch> 2020-11-04 16:53:05-06:00
log04267fb1baf0b7b47330223fad0acbd088452ee7
treed8b31a9d44425b058069504a49bac401062fe6f4
parentbb14bd35bd8e7c92d5d1662be391226c4a37fd24

Fix CoInitializeEx so it can take a null pointer


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/os/windows/ole32.zig+1-1
......@@ -8,4 +8,4 @@ usingnamespace @import("bits.zig");
88pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(.Stdcall) void;
99pub extern "ole32" fn CoUninitialize() callconv(.Stdcall) void;
1010pub extern "ole32" fn CoGetCurrentProcess() callconv(.Stdcall) DWORD;
11pub extern "ole32" fn CoInitializeEx(pvReserved: LPVOID, dwCoInit: DWORD) callconv(.Stdcall) HRESULT;
11pub extern "ole32" fn CoInitializeEx(pvReserved: ?LPVOID, dwCoInit: DWORD) callconv(.Stdcall) HRESULT;