Property Orientation of interface IDevMode returns/sets Value of short ...
HRESULT get_Orientation([out, retval] short* pVal); HRESULT put_Orientation([in] short pVal);
See also IDevMode.