ZD Screen Recorder SDK API – ScnLib_GetCaptureWnd()

ScnLib_GetCaptureWnd()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) HWND __stdcall ScnLib_GetCaptureWnd(void);
C# [DllImport("ScnLib.dll")] public static extern IntPtr ScnLib_GetCaptureWnd();
Basic Public Declare Function ScnLib_GetCaptureWnd Lib "ScnLib.dll" () As IntPtr
Delphi function ScnLib_GetCaptureWnd(): THandle; stdcall; external 'ScnLib.dll';
  • Description
    Retrieve the current screen capture root window handle.

  • Parameters
    None.

  • Return Value
    The current screen capture root window handle.
    • A zero value signifies that there is currently no screen capture root window bound.
    • An INVALID_HANDLE_VALUE (-1) signifies that the bound screen capture root window is no longer in existence.
  • Remarks
    Use this function to retrieve the current screen capture root window handle set by ScnLib_SetCaptureWnd().

  • See Also
    ScnLib_SetCaptureWnd()

Shopping Cart
  • Your cart is empty.
Scroll to Top