Stubs for Get/SetProcessDefaultLayout.

This commit is contained in:
Erez Volk 1999-12-04 04:21:20 +00:00 committed by Alexandre Julliard
parent 9b4fcf721d
commit fdf71277e5
3 changed files with 48 additions and 0 deletions

View File

@ -3298,6 +3298,7 @@ HWND WINAPI GetNextDlgTabItem(HWND,HWND,BOOL);
HWND WINAPI GetOpenClipboardWindow(void);
HWND WINAPI GetParent(HWND);
INT WINAPI GetPriorityClipboardFormat(UINT*,INT);
BOOL WINAPI GetProcessDefaultLayout(DWORD*);
HANDLE WINAPI GetPropA(HWND,LPCSTR);
HANDLE WINAPI GetPropW(HWND,LPCWSTR);
#define GetProp WINELIB_NAME_AW(GetProp)
@ -3522,6 +3523,7 @@ BOOL WINAPI SetMenu(HWND,HMENU);
BOOL WINAPI SetMenuContextHelpId(HMENU,DWORD);
BOOL WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP);
BOOL WINAPI SetMessageQueue(INT);
BOOL WINAPI SetProcessDefaultLayout(DWORD);
HWND WINAPI SetParent(HWND,HWND);
BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE);
BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE);

View File

@ -631,3 +631,5 @@ init MAIN_UserInit
# win98
800 stdcall GetMenuInfo(long ptr)GetMenuInfo
801 stdcall SetMenuInfo(long ptr)SetMenuInfo
802 stdcall GetProcessDefaultLayout(ptr) GetProcessDefaultLayout
803 stdcall SetProcessDefaultLayout(long) SetProcessDefaultLayout

View File

@ -345,3 +345,47 @@ DWORD dwNumberOfConcurrentThreads)
FIXME_(win32)("(%04x, %04x, %08lx, %08lx): stub.\n", hFileHandle, hExistingCompletionPort, dwCompletionKey, dwNumberOfConcurrentThreads);
return (HANDLE)NULL;
}
/******************************************************************************
* GetProcessDefaultLayout [USER32.802]
*
* Gets the default layout for parentless windows.
* Right now, just returns 0 (left-to-right).
*
* RETURNS
* Success: Nonzero
* Failure: Zero
*
* BUGS
* No RTL
*/
BOOL WINAPI GetProcessDefaultLayout( DWORD *pdwDefaultLayout )
{
if ( !pdwDefaultLayout ) {
SetLastError( ERROR_INVALID_PARAMETER );
return 0;
}
*pdwDefaultLayout = 0;
return TRUE;
}
/******************************************************************************
* SetProcessDefaultLayout [USER32.803]
*
* Sets the default layout for parentless windows.
* Right now, only accepts 0 (left-to-right).
*
* RETURNS
* Success: Nonzero
* Failure: Zero
*
* BUGS
* No RTL
*/
BOOL WINAPI SetProcessDefaultLayout( DWORD dwDefaultLayout )
{
return ( dwDefaultLayout == 0 );
}