Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fdf71277
Commit
fdf71277
authored
Dec 04, 1999
by
Erez Volk
Committed by
Alexandre Julliard
Dec 04, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubs for Get/SetProcessDefaultLayout.
parent
9b4fcf72
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
0 deletions
+48
-0
winuser.h
include/winuser.h
+2
-0
user32.spec
relay32/user32.spec
+2
-0
newfns.c
win32/newfns.c
+44
-0
No files found.
include/winuser.h
View file @
fdf71277
...
@@ -3298,6 +3298,7 @@ HWND WINAPI GetNextDlgTabItem(HWND,HWND,BOOL);
...
@@ -3298,6 +3298,7 @@ HWND WINAPI GetNextDlgTabItem(HWND,HWND,BOOL);
HWND
WINAPI
GetOpenClipboardWindow
(
void
);
HWND
WINAPI
GetOpenClipboardWindow
(
void
);
HWND
WINAPI
GetParent
(
HWND
);
HWND
WINAPI
GetParent
(
HWND
);
INT
WINAPI
GetPriorityClipboardFormat
(
UINT
*
,
INT
);
INT
WINAPI
GetPriorityClipboardFormat
(
UINT
*
,
INT
);
BOOL
WINAPI
GetProcessDefaultLayout
(
DWORD
*
);
HANDLE
WINAPI
GetPropA
(
HWND
,
LPCSTR
);
HANDLE
WINAPI
GetPropA
(
HWND
,
LPCSTR
);
HANDLE
WINAPI
GetPropW
(
HWND
,
LPCWSTR
);
HANDLE
WINAPI
GetPropW
(
HWND
,
LPCWSTR
);
#define GetProp WINELIB_NAME_AW(GetProp)
#define GetProp WINELIB_NAME_AW(GetProp)
...
@@ -3522,6 +3523,7 @@ BOOL WINAPI SetMenu(HWND,HMENU);
...
@@ -3522,6 +3523,7 @@ BOOL WINAPI SetMenu(HWND,HMENU);
BOOL
WINAPI
SetMenuContextHelpId
(
HMENU
,
DWORD
);
BOOL
WINAPI
SetMenuContextHelpId
(
HMENU
,
DWORD
);
BOOL
WINAPI
SetMenuItemBitmaps
(
HMENU
,
UINT
,
UINT
,
HBITMAP
,
HBITMAP
);
BOOL
WINAPI
SetMenuItemBitmaps
(
HMENU
,
UINT
,
UINT
,
HBITMAP
,
HBITMAP
);
BOOL
WINAPI
SetMessageQueue
(
INT
);
BOOL
WINAPI
SetMessageQueue
(
INT
);
BOOL
WINAPI
SetProcessDefaultLayout
(
DWORD
);
HWND
WINAPI
SetParent
(
HWND
,
HWND
);
HWND
WINAPI
SetParent
(
HWND
,
HWND
);
BOOL
WINAPI
SetPropA
(
HWND
,
LPCSTR
,
HANDLE
);
BOOL
WINAPI
SetPropA
(
HWND
,
LPCSTR
,
HANDLE
);
BOOL
WINAPI
SetPropW
(
HWND
,
LPCWSTR
,
HANDLE
);
BOOL
WINAPI
SetPropW
(
HWND
,
LPCWSTR
,
HANDLE
);
...
...
relay32/user32.spec
View file @
fdf71277
...
@@ -631,3 +631,5 @@ init MAIN_UserInit
...
@@ -631,3 +631,5 @@ init MAIN_UserInit
# win98
# win98
800 stdcall GetMenuInfo(long ptr)GetMenuInfo
800 stdcall GetMenuInfo(long ptr)GetMenuInfo
801 stdcall SetMenuInfo(long ptr)SetMenuInfo
801 stdcall SetMenuInfo(long ptr)SetMenuInfo
802 stdcall GetProcessDefaultLayout(ptr) GetProcessDefaultLayout
803 stdcall SetProcessDefaultLayout(long) SetProcessDefaultLayout
win32/newfns.c
View file @
fdf71277
...
@@ -345,3 +345,47 @@ DWORD dwNumberOfConcurrentThreads)
...
@@ -345,3 +345,47 @@ DWORD dwNumberOfConcurrentThreads)
FIXME_
(
win32
)(
"(%04x, %04x, %08lx, %08lx): stub.
\n
"
,
hFileHandle
,
hExistingCompletionPort
,
dwCompletionKey
,
dwNumberOfConcurrentThreads
);
FIXME_
(
win32
)(
"(%04x, %04x, %08lx, %08lx): stub.
\n
"
,
hFileHandle
,
hExistingCompletionPort
,
dwCompletionKey
,
dwNumberOfConcurrentThreads
);
return
(
HANDLE
)
NULL
;
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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment