mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
Remove std.os.windows.ole32/shell32
This commit is contained in:
parent
f2768e5564
commit
0bc4ee1792
@ -21,8 +21,6 @@ test {
|
||||
pub const advapi32 = @import("windows/advapi32.zig");
|
||||
pub const kernel32 = @import("windows/kernel32.zig");
|
||||
pub const ntdll = @import("windows/ntdll.zig");
|
||||
pub const ole32 = @import("windows/ole32.zig");
|
||||
pub const shell32 = @import("windows/shell32.zig");
|
||||
pub const ws2_32 = @import("windows/ws2_32.zig");
|
||||
pub const crypt32 = @import("windows/crypt32.zig");
|
||||
pub const nls = @import("windows/nls.zig");
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
const std = @import("../../std.zig");
|
||||
const windows = std.os.windows;
|
||||
const WINAPI = windows.WINAPI;
|
||||
const LPVOID = windows.LPVOID;
|
||||
const DWORD = windows.DWORD;
|
||||
const HRESULT = windows.HRESULT;
|
||||
|
||||
pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(WINAPI) void;
|
||||
pub extern "ole32" fn CoUninitialize() callconv(WINAPI) void;
|
||||
pub extern "ole32" fn CoGetCurrentProcess() callconv(WINAPI) DWORD;
|
||||
pub extern "ole32" fn CoInitialize(pvReserved: ?LPVOID) callconv(WINAPI) HRESULT;
|
||||
pub extern "ole32" fn CoInitializeEx(pvReserved: ?LPVOID, dwCoInit: DWORD) callconv(WINAPI) HRESULT;
|
||||
@ -1,15 +0,0 @@
|
||||
const std = @import("../../std.zig");
|
||||
const windows = std.os.windows;
|
||||
const WINAPI = windows.WINAPI;
|
||||
const KNOWNFOLDERID = windows.KNOWNFOLDERID;
|
||||
const DWORD = windows.DWORD;
|
||||
const HANDLE = windows.HANDLE;
|
||||
const WCHAR = windows.WCHAR;
|
||||
const HRESULT = windows.HRESULT;
|
||||
|
||||
pub extern "shell32" fn SHGetKnownFolderPath(
|
||||
rfid: *const KNOWNFOLDERID,
|
||||
dwFlags: DWORD,
|
||||
hToken: ?HANDLE,
|
||||
ppszPath: *[*:0]WCHAR,
|
||||
) callconv(WINAPI) HRESULT;
|
||||
Loading…
x
Reference in New Issue
Block a user