sys/windows: fix formatting

This commit is contained in:
hikari
2022-06-07 20:16:32 +03:00
parent ae57a49915
commit e91e5e1fe9
2 changed files with 4 additions and 3 deletions

View File

@@ -15,9 +15,9 @@ IUnknown :: struct {
using Vtbl: ^IUnknownVtbl,
}
IUnknownVtbl :: struct {
QueryInterface : proc "std" (This: ^IUnknown, riid: REFIID, ppvObject: ^rawptr) -> HRESULT,
AddRef : proc "std" (This: ^IUnknown) -> ULONG,
Release : proc "std" (This: ^IUnknown) -> ULONG,
QueryInterface: proc "stdcall" (This: ^IUnknown, riid: REFIID, ppvObject: ^rawptr) -> HRESULT,
AddRef: proc "stdcall" (This: ^IUnknown) -> ULONG,
Release: proc "stdcall" (This: ^IUnknown) -> ULONG,
}
LPUNKNOWN :: ^IUnknown

View File

@@ -58,6 +58,7 @@ DWORD_PTR :: ULONG_PTR
LONG_PTR :: int
UINT_PTR :: uintptr
ULONG :: c_ulong
ULONGLONG :: c_ulonglong
UCHAR :: BYTE
NTSTATUS :: c.long
COLORREF :: DWORD