ScnLib_GetGameWnd()

ScnLib_GetGameWnd()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) HWND __stdcall ScnLib_GetGameWnd(void);
C# [DllImport("ScnLib.dll")] public static extern IntPtr ScnLib_GetGameWnd();
Basic Public Declare Function ScnLib_GetGameWnd Lib "ScnLib.dll" () As IntPtr
Delphi function ScnLib_GetGameWnd(): THandle; stdcall; external 'ScnLib.dll';
  • Description
    Obtain the handle of the game window currently being captured via the API-hook method.

  • Parameters
    None.

  • Return Value
    The handle of the game window currently being captured. A zero value signifies that no game window is currently being captured via the API-hook method.

  • Remarks
    Use this function to obtain the handle of the game window currently being captured via the API-hook method.

  • See Also
    ScnLib_EnableGameCaptureMode()
    ScnLib_GetGamePathA/W()

Try the SDK for FREE SDK APIs overview