RegSaveKeyEx function advapi32

int RegSaveKeyEx(
  1. int hKey,
  2. Pointer<Utf16> lpFile,
  3. Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes,
  4. int Flags,
)

Saves the specified key and all of its subkeys and values to a registry file, in the specified format.

LSTATUS RegSaveKeyExW(
  HKEY                        hKey,
  LPCWSTR                     lpFile,
  const LPSECURITY_ATTRIBUTES lpSecurityAttributes,
  DWORD                       Flags);

Implementation

int RegSaveKeyEx(int hKey, Pointer<Utf16> lpFile,
        Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes, int Flags) =>
    _RegSaveKeyEx(hKey, lpFile, lpSecurityAttributes, Flags);