Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
dcbbd300
Commit
dcbbd300
authored
Jul 25, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added FindActCtxSectionStringA implementation.
parent
6792a9a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
actctx.c
dlls/kernel32/actctx.c
+19
-2
No files found.
dlls/kernel32/actctx.c
View file @
dcbbd300
...
...
@@ -219,10 +219,27 @@ BOOL WINAPI FindActCtxSectionStringA(DWORD dwFlags, const GUID* lpExtGuid,
ULONG
ulId
,
LPCSTR
lpSearchStr
,
PACTCTX_SECTION_KEYED_DATA
pInfo
)
{
FIXME
(
"%08x %s %u %s %p
\n
"
,
dwFlags
,
debugstr_guid
(
lpExtGuid
),
LPWSTR
search_str
;
DWORD
len
;
BOOL
ret
;
TRACE
(
"%08x %s %u %s %p
\n
"
,
dwFlags
,
debugstr_guid
(
lpExtGuid
),
ulId
,
debugstr_a
(
lpSearchStr
),
pInfo
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
if
(
!
lpSearchStr
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
lpSearchStr
,
-
1
,
NULL
,
0
);
search_str
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
lpSearchStr
,
-
1
,
search_str
,
len
);
ret
=
FindActCtxSectionStringW
(
dwFlags
,
lpExtGuid
,
ulId
,
search_str
,
pInfo
);
HeapFree
(
GetProcessHeap
(),
0
,
search_str
);
return
ret
;
}
/***********************************************************************
...
...
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