Browse Source

sys/windows: add RegSetValueExW

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

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

@@ -110,4 +110,13 @@ foreign advapi32 {
 		pvData: PVOID,
 		pvData: PVOID,
 		pcbData: LPDWORD,
 		pcbData: LPDWORD,
 	) -> LSTATUS ---
 	) -> LSTATUS ---
+
+	RegSetValueExW :: proc(
+		hKey: HKEY,
+		lpValueName: LPCWSTR,
+		Reserved: DWORD,
+		dwType: DWORD,
+		lpData: ^BYTE,
+		cbData: DWORD,
+	) -> LSTATUS ---
 }
 }