mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Change LPCSTR to LPCWSTR in windows _W procedures
This commit is contained in:
@@ -6,7 +6,7 @@ foreign import kernel32 "system:Kernel32.lib"
|
|||||||
@(default_calling_convention="stdcall")
|
@(default_calling_convention="stdcall")
|
||||||
foreign kernel32 {
|
foreign kernel32 {
|
||||||
OutputDebugStringA :: proc(lpOutputString: LPCSTR) --- // The only A thing that is allowed
|
OutputDebugStringA :: proc(lpOutputString: LPCSTR) --- // The only A thing that is allowed
|
||||||
OutputDebugStringW :: proc(lpOutputString: LPCSTR) ---
|
OutputDebugStringW :: proc(lpOutputString: LPCWSTR) ---
|
||||||
|
|
||||||
ReadConsoleW :: proc(hConsoleInput: HANDLE,
|
ReadConsoleW :: proc(hConsoleInput: HANDLE,
|
||||||
lpBuffer: LPVOID,
|
lpBuffer: LPVOID,
|
||||||
@@ -101,7 +101,7 @@ foreign kernel32 {
|
|||||||
GetExitCodeThread :: proc(thread: HANDLE, exit_code: ^DWORD) -> BOOL ---
|
GetExitCodeThread :: proc(thread: HANDLE, exit_code: ^DWORD) -> BOOL ---
|
||||||
TerminateThread :: proc(thread: HANDLE, exit_code: DWORD) -> BOOL ---
|
TerminateThread :: proc(thread: HANDLE, exit_code: DWORD) -> BOOL ---
|
||||||
|
|
||||||
CreateSemaphoreW :: proc(attributes: LPSECURITY_ATTRIBUTES, initial_count, maximum_count: LONG, name: LPCSTR) -> HANDLE ---
|
CreateSemaphoreW :: proc(attributes: LPSECURITY_ATTRIBUTES, initial_count, maximum_count: LONG, name: LPCWSTR) -> HANDLE ---
|
||||||
ReleaseSemaphore :: proc(semaphore: HANDLE, release_count: LONG, previous_count: ^LONG) -> BOOL ---
|
ReleaseSemaphore :: proc(semaphore: HANDLE, release_count: LONG, previous_count: ^LONG) -> BOOL ---
|
||||||
|
|
||||||
CreateWaitableTimerW :: proc(
|
CreateWaitableTimerW :: proc(
|
||||||
|
|||||||
Reference in New Issue
Block a user