| author | |
| committer | |
| log | 17837affd22a6055c65a14252fa38610fdeabc3a |
| tree | f3e327f1ebdd0e28325a49210a7e932d88442310 |
| parent | bb14bd35bd8e7c92d5d1662be391226c4a37fd24 |
| parent | e5100605e9ba233d04fd46dec58c151239b6d365 |
| signature |
Fix CoInitializeEx so it can take a null pointer2 files changed, 2 insertions(+), 1 deletions(-)
lib/std/os/windows/bits.zig+1| ... | ... | @@ -60,6 +60,7 @@ pub const SIZE_T = usize; |
| 60 | 60 | pub const TCHAR = if (UNICODE) WCHAR else u8; |
| 61 | 61 | pub const UINT = c_uint; |
| 62 | 62 | pub const ULONG_PTR = usize; |
| 63 | pub const LONG_PTR = isize; | |
| 63 | 64 | pub const DWORD_PTR = ULONG_PTR; |
| 64 | 65 | pub const UNICODE = false; |
| 65 | 66 | pub const WCHAR = u16; |
lib/std/os/windows/ole32.zig+1-1| ... | ... | @@ -8,4 +8,4 @@ usingnamespace @import("bits.zig"); |
| 8 | 8 | pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(.Stdcall) void; |
| 9 | 9 | pub extern "ole32" fn CoUninitialize() callconv(.Stdcall) void; |
| 10 | 10 | pub extern "ole32" fn CoGetCurrentProcess() callconv(.Stdcall) DWORD; |
| 11 | pub extern "ole32" fn CoInitializeEx(pvReserved: LPVOID, dwCoInit: DWORD) callconv(.Stdcall) HRESULT; | |
| 11 | pub extern "ole32" fn CoInitializeEx(pvReserved: ?LPVOID, dwCoInit: DWORD) callconv(.Stdcall) HRESULT; |