forked from Mirrors/wine-wine
user32: Add GetAutoRotationState/GetDisplayAutoRotationPreferences stubs.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
0c65c1824a
commit
d8db5e04bd
|
@ -2913,3 +2913,23 @@ BOOL WINAPI IsProcessDPIAware(void)
|
||||||
FIXME( "stub!\n");
|
FIXME( "stub!\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* GetAutoRotationState [USER32.@]
|
||||||
|
*/
|
||||||
|
BOOL WINAPI GetAutoRotationState( AR_STATE *state )
|
||||||
|
{
|
||||||
|
FIXME("(%p): stub\n", state);
|
||||||
|
*state = AR_NOT_SUPPORTED;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* GetDisplayAutoRotationPreferences [USER32.@]
|
||||||
|
*/
|
||||||
|
BOOL WINAPI GetDisplayAutoRotationPreferences( ORIENTATION_PREFERENCE *orientation )
|
||||||
|
{
|
||||||
|
FIXME("(%p): stub\n", orientation);
|
||||||
|
*orientation = ORIENTATION_PREFERENCE_NONE;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
|
@ -251,6 +251,7 @@
|
||||||
@ stdcall GetAppCompatFlags(long)
|
@ stdcall GetAppCompatFlags(long)
|
||||||
@ stdcall GetAppCompatFlags2(long)
|
@ stdcall GetAppCompatFlags2(long)
|
||||||
@ stdcall GetAsyncKeyState(long)
|
@ stdcall GetAsyncKeyState(long)
|
||||||
|
@ stdcall GetAutoRotationState(ptr)
|
||||||
@ stdcall GetCapture()
|
@ stdcall GetCapture()
|
||||||
@ stdcall GetCaretBlinkTime()
|
@ stdcall GetCaretBlinkTime()
|
||||||
@ stdcall GetCaretPos(ptr)
|
@ stdcall GetCaretPos(ptr)
|
||||||
|
@ -282,6 +283,7 @@
|
||||||
@ stdcall GetDCEx(long long long)
|
@ stdcall GetDCEx(long long long)
|
||||||
@ stdcall GetDesktopWindow()
|
@ stdcall GetDesktopWindow()
|
||||||
@ stdcall GetDialogBaseUnits()
|
@ stdcall GetDialogBaseUnits()
|
||||||
|
@ stdcall GetDisplayAutoRotationPreferences(ptr)
|
||||||
@ stdcall GetDisplayConfigBufferSizes(long ptr ptr)
|
@ stdcall GetDisplayConfigBufferSizes(long ptr ptr)
|
||||||
@ stdcall GetDlgCtrlID(long)
|
@ stdcall GetDlgCtrlID(long)
|
||||||
@ stdcall GetDlgItem(long long)
|
@ stdcall GetDlgItem(long long)
|
||||||
|
|
|
@ -3284,6 +3284,26 @@ typedef struct tagCHANGEFILTERSTRUCT
|
||||||
|
|
||||||
#define USER_DEFAULT_SCREEN_DPI 96
|
#define USER_DEFAULT_SCREEN_DPI 96
|
||||||
|
|
||||||
|
typedef enum tagAR_STATE {
|
||||||
|
AR_ENABLED = 0x0,
|
||||||
|
AR_DISABLED = 0x1,
|
||||||
|
AR_SUPPRESSED = 0x2,
|
||||||
|
AR_REMOTESESSION = 0x4,
|
||||||
|
AR_MULTIMON = 0x8,
|
||||||
|
AR_NOSENSOR = 0x10,
|
||||||
|
AR_NOT_SUPPORTED = 0x20,
|
||||||
|
AR_DOCKED = 0x40,
|
||||||
|
AR_LAPTOP = 0x80
|
||||||
|
} AR_STATE, *PAR_STATE;
|
||||||
|
|
||||||
|
typedef enum ORIENTATION_PREFERENCE {
|
||||||
|
ORIENTATION_PREFERENCE_NONE = 0x0,
|
||||||
|
ORIENTATION_PREFERENCE_LANDSCAPE = 0x1,
|
||||||
|
ORIENTATION_PREFERENCE_PORTRAIT = 0x2,
|
||||||
|
ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED = 0x4,
|
||||||
|
ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED = 0x8
|
||||||
|
} ORIENTATION_PREFERENCE;
|
||||||
|
|
||||||
#if defined(_WINGDI_) && !defined(NOGDI)
|
#if defined(_WINGDI_) && !defined(NOGDI)
|
||||||
WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA,DWORD);
|
WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA,DWORD);
|
||||||
WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW,DWORD);
|
WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW,DWORD);
|
||||||
|
@ -3563,6 +3583,7 @@ WINUSERAPI BOOL WINAPI GetAltTabInfoW(HWND,INT,PALTTABINFO,LPWSTR,UINT);
|
||||||
WINUSERAPI HWND WINAPI GetAncestor(HWND,UINT);
|
WINUSERAPI HWND WINAPI GetAncestor(HWND,UINT);
|
||||||
WINUSERAPI DWORD WINAPI GetAppCompatFlags(HTASK);
|
WINUSERAPI DWORD WINAPI GetAppCompatFlags(HTASK);
|
||||||
WINUSERAPI SHORT WINAPI GetAsyncKeyState(INT);
|
WINUSERAPI SHORT WINAPI GetAsyncKeyState(INT);
|
||||||
|
WINUSERAPI BOOL WINAPI GetAutoRotationState(AR_STATE*);
|
||||||
WINUSERAPI HWND WINAPI GetCapture(void);
|
WINUSERAPI HWND WINAPI GetCapture(void);
|
||||||
WINUSERAPI UINT WINAPI GetCaretBlinkTime(void);
|
WINUSERAPI UINT WINAPI GetCaretBlinkTime(void);
|
||||||
WINUSERAPI BOOL WINAPI GetCaretPos(LPPOINT);
|
WINUSERAPI BOOL WINAPI GetCaretPos(LPPOINT);
|
||||||
|
@ -3605,6 +3626,7 @@ WINUSERAPI HDC WINAPI GetDC(HWND);
|
||||||
WINUSERAPI HDC WINAPI GetDCEx(HWND,HRGN,DWORD);
|
WINUSERAPI HDC WINAPI GetDCEx(HWND,HRGN,DWORD);
|
||||||
WINUSERAPI HWND WINAPI GetDesktopWindow(void);
|
WINUSERAPI HWND WINAPI GetDesktopWindow(void);
|
||||||
WINUSERAPI DWORD WINAPI GetDialogBaseUnits(void);
|
WINUSERAPI DWORD WINAPI GetDialogBaseUnits(void);
|
||||||
|
WINUSERAPI BOOL WINAPI GetDisplayAutoRotationPreferences(ORIENTATION_PREFERENCE*);
|
||||||
WINUSERAPI INT WINAPI GetDlgCtrlID(HWND);
|
WINUSERAPI INT WINAPI GetDlgCtrlID(HWND);
|
||||||
WINUSERAPI HWND WINAPI GetDlgItem(HWND,INT);
|
WINUSERAPI HWND WINAPI GetDlgItem(HWND,INT);
|
||||||
WINUSERAPI UINT WINAPI GetDlgItemInt(HWND,INT,BOOL*,BOOL);
|
WINUSERAPI UINT WINAPI GetDlgItemInt(HWND,INT,BOOL*,BOOL);
|
||||||
|
|
Loading…
Reference in New Issue