mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 00:57:04 +00:00
7884d84315
Down to 19 uses of `usingnamespace`.
16 lines
443 B
Zig
16 lines
443 B
Zig
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;
|