Browse Source

add SetConsoleOuputCP

Elusive Porpoise 2 years ago
parent
commit
4210aa9ab9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/sys/windows/kernel32.odin

+ 2 - 1
core/sys/windows/kernel32.odin

@@ -45,7 +45,8 @@ foreign kernel32 {
 						   dwCursorPosition: COORD) -> BOOL ---
 	SetConsoleTextAttribute :: proc(hConsoleOutput: HANDLE,
 									wAttributes: WORD) -> BOOL ---
-
+	SetConsoleOutputCP :: proc(wCodePageID: UINT) -> BOOL ---
+	
 	GetFileInformationByHandle :: proc(hFile: HANDLE, lpFileInformation: LPBY_HANDLE_FILE_INFORMATION) -> BOOL ---
 	SetHandleInformation :: proc(hObject: HANDLE,
 	                             dwMask: DWORD,