TopLeft

Get the top left position of a desktop in Windows screen coordinates.

Syntax

Copied!

ADLX_RESULT     TopLeft (ADLX_Point * locationTopLeft)

Parameters

  1. [out] locationTopLeft ADLX_Point * The pointer to a variable where the top left position is returned.

Return Value

If the top left position is successfully returned, ADLX_OK is returned.

If the top left position is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The desktop top left position is measured in screen coordinates.

Requirements

Header

include “IDesktops.h”

Minimum version

1.0