mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +00:00
24 lines
570 B
Odin
24 lines
570 B
Odin
// +build windows
|
|
package sys_windows
|
|
|
|
foreign import shell32 "system:Shell32.lib"
|
|
|
|
@(default_calling_convention="stdcall")
|
|
foreign shell32 {
|
|
CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> ^wstring ---
|
|
ShellExecuteW :: proc(
|
|
hwnd: HWND,
|
|
lpOperation: LPCWSTR,
|
|
lpFile: LPCWSTR,
|
|
lpParameters: LPCWSTR,
|
|
lpDirectory: LPCWSTR,
|
|
nShowCmd: INT,
|
|
) -> HINSTANCE ---
|
|
SHCreateDirectoryExW :: proc(
|
|
hwnd: HWND,
|
|
pszPath: LPCWSTR,
|
|
psa: ^SECURITY_ATTRIBUTES,
|
|
) -> c_int ---
|
|
SHFileOperationW :: proc(lpFileOp: LPSHFILEOPSTRUCTW) -> c_int ---
|
|
}
|