ZD Screen Recorder SDK API – ScnLib_ShowCountdownBox()

ScnLib_ShowCountdownBox()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) BOOL __stdcall ScnLib_ShowCountdownBox(int nSeconds);
C# [DllImport("ScnLib.dll")] public static extern bool ScnLib_ShowCountdownBox(int Seconds);
Basic Public Declare Function ScnLib_ShowCountdownBox Lib "ScnLib.dll" (ByVal Seconds As Int32) As Boolean
Delphi function ScnLib_ShowCountdownBox(Seconds: Integer): LongBool; stdcall; external 'ScnLib.dll';
  • Description
    Display a countdown box at the center of the screen.

  • Parameters
    • Seconds [in]
      The duration in seconds for the countdown.
  • Return Value
    If the countdown completes or the user presses ENTER to terminate it prematurely, the function returns TRUE. If the user presses ESC to cancel the countdown, the function returns FALSE.

  • Remarks
    Use this function to display a countdown box at the center of the screen, indicating the time remaining until the recording begins. This provides users with a few seconds to prepare for recording after initiating the start. The countdown box will vanish once the countdown concludes. You can interact with the countdown box by clicking it and pressing ENTER to end the countdown immediately (which returns TRUE) or pressing ESC to cancel the countdown (which returns FALSE). If the countdown box is obstructing your view, you can drag it to a different location on the screen.

  • See Also
    ScnLib_StartRecording()

Shopping Cart
  • Your cart is empty.
Scroll to Top