Orientation 

Gets the orientation of a desktop.

Syntax 

ADLX_RESULT     Orientation (ADLX_ORIENTATION * orientation)

Parameters 

  1. [out] orientation ADLX_ORIENTATION* The pointer to a variable where the orientation is returned.

Return Value 

If the orientation is successfully returned, ADLX_OK is returned.

If the orientation is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks 

The desktop orientation indicates the rotation angle of the desktop.

Requirements 

Header

include “IDesktops.h”

Minimum version

1.0