ZD Screen Recorder SDK API – ScnLib_GetVideoPath()

ScnLib_GetVideoPathA/W()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_GetVideoPathA(LPSTR pszPath, BOOL bSaved);
__declspec(dllimport) void __stdcall ScnLib_GetVideoPathW(LPWSTR pwszPath, BOOL bSaved);
C# [DllImport("ScnLib.dll", CharSet = CharSet.Unicode)] public static extern void ScnLib_GetVideoPathW(StringBuilder Path, bool Saved);
Basic Public Declare Unicode Sub ScnLib_GetVideoPathW Lib "ScnLib.dll" (ByVal Path As StringBuilder, ByVal Saved As Boolean)
Delphi procedure ScnLib_GetVideoPathA(Path: PAnsiChar; Saved: LongBool); stdcall; external 'ScnLib.dll';
procedure ScnLib_GetVideoPathW(Path: PWideChar; Saved: LongBool); stdcall; external 'ScnLib.dll';
  • Description
    Retrieve the current or last saved video output file path.

  • Parameters
    • Path [out]
      The string buffer allocated to receive the video output file path. Ensure that the buffer has a capacity greater than 260 characters.
    • Saved [in]
      FALSE: Retrieve the current video output file path.
      TRUE: Obtain the last saved (or attempted to save) path.
  • Return Value
    None.

  • Remarks
    Use this function to retrieve the current or previously saved video output file path. When the Saved parameter is set to FALSE, the Path will retrieve the currently set video output file path, which might include predefined variables. Conversely, if the Saved parameter is TRUE, the Path will obtain the last saved (or attempted to save) path, which could differ from the set path if the incorporated predefined variables might have been replaced.

  • See Also
    ScnLib_SetVideoPathA/W()

Shopping Cart
  • Your cart is empty.
Scroll to Top