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
93488b19
Commit
93488b19
authored
Dec 07, 2008
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Dec 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add stub for GetConsoleAliasW.
parent
adb5eb9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
console.c
dlls/kernel32/console.c
+23
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
No files found.
dlls/kernel32/console.c
View file @
93488b19
...
...
@@ -2666,3 +2666,26 @@ BOOL CONSOLE_GetEditionMode(HANDLE hConIn, int* mode)
SERVER_END_REQ
;
return
ret
;
}
/******************************************************************
* GetConsoleAliasW
*
*
* RETURNS
* 0 if an error occurred, non-zero for success
*
*/
DWORD
WINAPI
GetConsoleAliasW
(
LPWSTR
lpSource
,
LPWSTR
lpTargetBuffer
,
DWORD
TargetBufferLength
,
LPWSTR
lpExename
)
{
static
const
WCHAR
empty
[]
=
{
' '
,
0
};
FIXME
(
"(%s,%p,%d,%s): stub
\n
"
,
debugstr_w
(
lpSource
),
lpTargetBuffer
,
TargetBufferLength
,
debugstr_w
(
lpExename
));
if
(
TargetBufferLength
<
sizeof
(
empty
)
/
sizeof
(
WCHAR
))
return
0
;
lstrcpyW
(
lpTargetBuffer
,
empty
);
return
1
;
}
dlls/kernel32/kernel32.spec
View file @
93488b19
...
...
@@ -452,7 +452,7 @@
@ stub GetConsoleAliasExesLengthA
@ stub GetConsoleAliasExesLengthW
@ stub GetConsoleAliasExesW
@ st
ub GetConsoleAliasW
@ st
dcall GetConsoleAliasW(wstr ptr long wstr)
@ stub GetConsoleAliasesA
@ stub GetConsoleAliasesLengthA
@ stub GetConsoleAliasesLengthW
...
...
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