ZD Screen Recorder SDK API – ScnLib_GetInGameOverlayPosition()

ScnLib_GetInGameOverlayPosition()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_GetInGameOverlayPosition(int *nPosition, int *nMarginX, int *nMarginY);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_GetInGameOverlayPosition(ref int Position, ref int MarginX, ref int MarginY);
Basic Public Declare Sub ScnLib_GetInGameOverlayPosition Lib "ScnLib.dll" (ByRef Position As Int32, ByRef MarginX As Int32, ByRef MarginY As Int32)
Delphi procedure ScnLib_GetInGameOverlayPosition(var Position: Integer; var MarginX: Integer; var MarginY: Integer); stdcall; external 'ScnLib.dll';
  • Description
    Check the current position of the in-game overlay.

  • Parameters
    • Position [out]
      • SCNLIB_POSITION_TOP_LEFT : Positioned at the top-left corner of the game screen.
      • SCNLIB_POSITION_TOP : Positioned at the top side of the game screen.
      • SCNLIB_POSITION_TOP_RIGHT : Positioned at the top-right corner of the game screen.
      • SCNLIB_POSITION_RIGHT : Positioned at the right side of the game screen.
      • SCNLIB_POSITION_BOTTOM_RIGHT : Positioned at the bottom-right corner of the game screen.
      • SCNLIB_POSITION_BOTTOM : Positioned at the bottom side of the game screen.
      • SCNLIB_POSITION_BOTTOM_LEFT : Positioned at the bottom-left corner of the game screen.
      • SCNLIB_POSITION_LEFT : Positioned at the left side of the game screen.
      • SCNLIB_POSITION_CENTER : Positioned at the center of the game screen.
    • MarginX [out]
      The horizontal margin, representing the offset from the edge of the game screen.
    • MarginY [out]
      The vertical margin, representing the offset from the edge of the game screen.
  • Return Value
    None.

  • Remarks
    Use this function to check the current position of the in-game overlay.

  • See Also
    ScnLib_SetInGameOverlayPosition()

Shopping Cart
  • Your cart is empty.
Scroll to Top