Browse Source

sys/windows: add RegSetKeyValueW

hikari 3 years ago
parent
commit
665db0f778
1 changed files with 9 additions and 0 deletions
  1. 9 0
      core/sys/windows/advapi32.odin

+ 9 - 0
core/sys/windows/advapi32.odin

@@ -119,4 +119,13 @@ foreign advapi32 {
 		lpData: ^BYTE,
 		cbData: DWORD,
 	) -> LSTATUS ---
+
+	RegSetKeyValueW :: proc(
+		hKey: HKEY,
+		lpSubKey: LPCWSTR,
+		lpValueName: LPCWSTR,
+		dwType: DWORD,
+		lpData: LPCVOID,
+		cbData: DWORD,
+	) -> LSTATUS ---
 }