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
a5a35ec2
Commit
a5a35ec2
authored
Jan 17, 2008
by
Eric van Beurden
Committed by
Alexandre Julliard
Jan 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Return TRUE in SymInitializeW if process is already initialized and add…
dbghelp: Return TRUE in SymInitializeW if process is already initialized and add an ERR to SymCleanup.
parent
5184b49f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
dbghelp.c
dlls/dbghelp/dbghelp.c
+10
-2
No files found.
dlls/dbghelp/dbghelp.c
View file @
a5a35ec2
...
...
@@ -268,8 +268,14 @@ BOOL WINAPI SymInitializeW(HANDLE hProcess, PCWSTR UserSearchPath, BOOL fInvadeP
TRACE
(
"(%p %s %u)
\n
"
,
hProcess
,
debugstr_w
(
UserSearchPath
),
fInvadeProcess
);
if
(
process_find_by_handle
(
hProcess
))
FIXME
(
"what to do ??
\n
"
);
if
(
process_find_by_handle
(
hProcess
)){
WARN
(
"the symbols for this process have already been initialized!
\n
"
);
/* MSDN says to only call this function once unless SymCleanup() has been called since the last call.
It also says to call SymRefreshModuleList() instead if you just want the module list refreshed.
Native still returns TRUE even if the process has already been initialized. */
return
TRUE
;
}
pcs
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
pcs
));
if
(
!
pcs
)
return
FALSE
;
...
...
@@ -379,6 +385,8 @@ BOOL WINAPI SymCleanup(HANDLE hProcess)
return
TRUE
;
}
}
ERR
(
"this process has not had SymInitialize() called for it!
\n
"
);
return
FALSE
;
}
...
...
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