| ... | @@ -27,6 +27,8 @@ pub extern "advapi32" fn RegQueryValueExW( | ... | @@ -27,6 +27,8 @@ pub extern "advapi32" fn RegQueryValueExW( |
| 27 | lpcbData: ?*DWORD, | 27 | lpcbData: ?*DWORD, |
| 28 | ) callconv(WINAPI) LSTATUS; | 28 | ) callconv(WINAPI) LSTATUS; |
| 29 | | 29 | |
| | 30 | pub extern "advapi32" fn RegCloseKey(hKey: HKEY) callconv(WINAPI) LSTATUS; |
| | 31 | |
| 30 | // RtlGenRandom is known as SystemFunction036 under advapi32 | 32 | // RtlGenRandom is known as SystemFunction036 under advapi32 |
| 31 | // http://msdn.microsoft.com/en-us/library/windows/desktop/aa387694.aspx */ | 33 | // http://msdn.microsoft.com/en-us/library/windows/desktop/aa387694.aspx */ |
| 32 | pub extern "advapi32" fn SystemFunction036(output: [*]u8, length: ULONG) callconv(WINAPI) BOOL; | 34 | pub extern "advapi32" fn SystemFunction036(output: [*]u8, length: ULONG) callconv(WINAPI) BOOL; |