Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordnobori <da.git@softether.co.jp>2015-10-19 15:30:51 +0300
committerdnobori <da.git@softether.co.jp>2015-10-19 15:30:51 +0300
commitd3a1b26413acf3b387475f9ec5c4cbd93c5ffffe (patch)
treee248aa6f09b05d45696ecac1da7ecfa540fac91c /src/Mayaqua/Microsoft.h
parent4e862a7e40c095ac6ac8b1417890008fbd614ebb (diff)
v4.19-9599-beta
Diffstat (limited to 'src/Mayaqua/Microsoft.h')
-rw-r--r--src/Mayaqua/Microsoft.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Mayaqua/Microsoft.h b/src/Mayaqua/Microsoft.h
index 46abc483..eba15cfa 100644
--- a/src/Mayaqua/Microsoft.h
+++ b/src/Mayaqua/Microsoft.h
@@ -495,6 +495,8 @@ typedef struct NT_API
BOOL (WINAPI *AddAccessAllowedAceEx)(PACL, DWORD, DWORD, DWORD, PSID);
HRESULT (WINAPI *DwmIsCompositionEnabled)(BOOL *);
BOOL (WINAPI *GetComputerNameExW)(COMPUTER_NAME_FORMAT, LPWSTR, LPDWORD);
+ LONG (WINAPI *RegLoadKeyW)(HKEY, LPCWSTR, LPCWSTR);
+ LONG (WINAPI *RegUnLoadKeyW)(HKEY, LPCWSTR);
} NT_API;
typedef struct MS_EVENTLOG
@@ -725,6 +727,9 @@ bool MsRegDeleteValue(UINT root, char *keyname, char *valuename);
bool MsRegDeleteValueEx(UINT root, char *keyname, char *valuename, bool force32bit);
bool MsRegDeleteValueEx2(UINT root, char *keyname, char *valuename, bool force32bit, bool force64bit);
+bool MsRegLoadHive(UINT root, wchar_t *keyname, wchar_t *filename);
+bool MsRegUnloadHive(UINT root, wchar_t *keyname);
+
bool MsIsNt();
bool MsIsAdmin();
bool MsEnablePrivilege(char *name, bool enable);