// d3dkmdt.h
typedef enum _D3DKMDT_VIDPN_PRESENT_PATH_ROTATION {
D3DKMDT_VPPR_UNINITIALIZED,
D3DKMDT_VPPR_IDENTITY,
D3DKMDT_VPPR_ROTATE90,
D3DKMDT_VPPR_ROTATE180,
D3DKMDT_VPPR_ROTATE270,
D3DKMDT_VPPR_IDENTITY_OFFSET90,
D3DKMDT_VPPR_ROTATE90_OFFSET90,
D3DKMDT_VPPR_ROTATE180_OFFSET90,
D3DKMDT_VPPR_ROTATE270_OFFSET90,
D3DKMDT_VPPR_IDENTITY_OFFSET180,
D3DKMDT_VPPR_ROTATE90_OFFSET180,
D3DKMDT_VPPR_ROTATE180_OFFSET180,
D3DKMDT_VPPR_ROTATE270_OFFSET180,
D3DKMDT_VPPR_IDENTITY_OFFSET270,
D3DKMDT_VPPR_ROTATE90_OFFSET270,
D3DKMDT_VPPR_ROTATE180_OFFSET270,
D3DKMDT_VPPR_ROTATE270_OFFSET270,
D3DKMDT_VPPR_UNPINNED,
D3DKMDT_VPPR_NOTSPECIFIED
} D3DKMDT_VIDPN_PRESENT_PATH_ROTATION;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMDT_VIDPN_PRESENT_PATH_ROTATION enumeration is used to indicate the rotation angle applied to content displayed on a VidPN present path.
D3DKMDT_VPPR_UNINITIALIZEDIndicates that a variable of type D3DKMDT_VIDPN_PRESENT_PATH_ROTATION has not yet been assigned a meaningful value.
D3DKMDT_VPPR_IDENTITYIndicates that there is no rotation.
D3DKMDT_VPPR_ROTATE90Indicates that the rotation angle is 90 degrees counter-clockwise.
D3DKMDT_VPPR_ROTATE180Indicates that the rotation angle is 180 degrees counter-clockwise.
D3DKMDT_VPPR_ROTATE270Indicates that the rotation angle is 270 degrees counter-clockwise.
D3DKMDT_VPPR_IDENTITY_OFFSET90Indicates that source content is not modified in any way, and the display miniport driver should rotate this content an extra 90 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE90_OFFSET90Indicates that source content is rotated 90 degrees counter-clockwise, and the driver should rotate this content an extra 90 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE180_OFFSET90Indicates that source content is rotated 180 degrees counter-clockwise, and the driver should rotate this content an extra 90 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE270_OFFSET90Indicates that source content is rotated 270 degrees counter-clockwise, and the driver should rotate this content an extra 90 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_IDENTITY_OFFSET180Indicates that source content is not modified in any way, and the driver should rotate this content an extra 180 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE90_OFFSET180Indicates that source content is rotated 90 degrees counter-clockwise, and the driver should rotate this content an extra 180 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE180_OFFSET180Indicates that source content is rotated 180 degrees counter-clockwise, and the driver should rotate this content an extra 180 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE270_OFFSET180Indicates that source content is rotated 270 degrees, and the driver should rotate this content an extra 180 degrees. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_IDENTITY_OFFSET270Indicates that source content is not modified in any way, and the driver should rotate this content an extra 270 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE90_OFFSET270Indicates that source content is rotated 90 degrees counter-clockwise, and the driver should rotate this content an extra 270 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE180_OFFSET270Indicates that source content is rotated 180 degrees counter-clockwise, and the driver should rotate this content an extra 270 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_ROTATE270_OFFSET270Indicates that source content is rotated 270 degrees counter-clockwise, and the driver should rotate this content an extra 270 degrees counter-clockwise. For more info, see Remarks.
Supported starting with Windows 8.1 Update.
D3DKMDT_VPPR_UNPINNEDIndicates that no rotation angle has been pinned for the VidPN present path.
D3DKMDT_VPPR_NOTSPECIFIEDIndicates that no rotation angle (including identity) has been specified.
The Rotation member of the D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION structure is a value from the D3DKMDT_VIDPN_PRESENT_PATH_ROTATION enumeration.
Starting with Windows 8.1 Update, new constant values (D3DKMDT_VPPR_XXX_OFFSETXXX) are available to specify both the default orientation of a display device and an additional angle (offset) that the user has rotated the device.
Here are some examples of how to set the default orientation and offset:
Note The operating system does not update the value of the interface version value DXGKDDI_INTERFACE_VERSION to DXGKDDI_INTERFACE_VERSION_WDDM1_3_PATH_INDEPENDENT_ROTATION. If you want to use the path-independent members in this structure, you should be sure that the interface version in your driver is >= DXGKDDI_INTERFACE_VERSION_WDDM1_3_PATH_INDEPENDENT_ROTATION (0x4003).
D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION