diff --git a/rt/src/core/c/windows/windows.volt b/rt/src/core/c/windows/windows.volt index aec64318b..de786dbd7 100644 --- a/rt/src/core/c/windows/windows.volt +++ b/rt/src/core/c/windows/windows.volt @@ -810,8 +810,13 @@ fn RegEnumKeyExW(HKEY, DWORD, LPCWSTR, LPDWORD, LPDWORD, LPWSTR, LPDWORD, PFILET fn RegQueryInfoKeyA(HKEY, LPCSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, PFILETIME) LONG; fn RegQueryInfoKeyW(HKEY, LPCWSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, PFILETIME) LONG; +fn CreateEventA(LPSECURITY_ATTRIBUTES, BOOL, BOOL, LPCSTR) HANDLE; +fn CreateEventW(LPSECURITY_ATTRIBUTES, BOOL, BOOL, LPCWSTR) HANDLE; +fn SetEvent(HANDLE) BOOL; + // Helper functions needs to be marked with extern volt so // they do not collide with other C function with similar names. +// DO NOT ADD ANY WINDOWS FUNCTIONS AFTER THIS! extern(Volt): fn LOWORD(dw: DWORD) WORD @@ -838,5 +843,4 @@ fn GET_XBUTTON_WPARAM(w: WPARAM) i32 { return cast(i32)cast(i16)HIWORD(cast(DWORD)w); } - // DO NOT ADD ANY WINDOWS FUNCTIONS AFTER THIS!