ScnLib_GetAudioPath()

ScnLib_GetAudioPathA/W()

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

  • Parameters
    • Path [out]
      The string buffer allocated to receive the audio output file path. Ensure that the buffer has a capacity greater than 260 characters.
    • Saved [in]
      FALSE: Retrieve the current audio 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 last saved audio output file path. When the Saved parameter is set to FALSE, the Path will retrieve the current audio 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_SetAudioPathA/W()

Try the SDK for FREE SDK APIs overview