ZD Screen Recorder SDK API – ScnLib_LoadSettings()

ScnLib_LoadSettingsA/W()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) BOOL __stdcall ScnLib_LoadSettingsA(HKEY hKey, LPCSTR pcszSubKey);
__declspec(dllimport) BOOL __stdcall ScnLib_LoadSettingsW(HKEY hKey, LPCWSTR pcwszSubKey);
C# [DllImport("ScnLib.dll", CharSet = CharSet.Unicode)] public static extern bool ScnLib_LoadSettingsW(IntPtr RegKey, string SubKey);
Basic Public Declare Unicode Function ScnLib_LoadSettingsW Lib "ScnLib.dll" (ByVal RegKey As IntPtr, ByVal SubKey As String) As Boolean
Delphi function ScnLib_LoadSettingsA(RegKey: THandle; const SubKey: PAnsiChar): LongBool; stdcall; external 'ScnLib.dll'; function ScnLib_LoadSettingsW(RegKey: THandle; const SubKey: PWideChar): LongBool; stdcall; external 'ScnLib.dll';
  • Description
    Load the SDK settings from the Windows registry.

  • Parameters
    • RegKey [in]
      A handle to a currently open key or any of the following predefined keys:
      • HKEY_CURRENT_USER
      • HKEY_LOCAL_MACHINE
    • SubKey [in]
      The sub-key under the RegKey from which you wish to load the SDK settings from the Windows registry. To load from the SDK’s default sub-key, pass a zero value or an empty string.
  • Return Value
    If the SDK settings are loaded successfully, the return value is TRUE. Otherwise, the return value is FALSE.

  • Remarks
    Use this function to load the SDK settings previously saved in the Windows registry via ScnLib_SaveSettingsA/W(). The SDK offers numerous settings that can be programmatically modified to suit your needs. This function is commonly used to preserve the SDK settings through program restarts.

  • See Also
    ScnLib_SaveSettingsA/W()
    ScnLib_DeleteSettingsA/W()
    ScnLib_ConfigureSettings()

Shopping Cart
  • Your cart is empty.
Scroll to Top