SymUnloadModule64 Function
Unloads the symbol table.
This function supersedes the SymUnloadedModule function. For more information, see Updated Platform Support.
BOOL WINAPI SymUnloadModule64( __in HANDLE hProcess, __in DWORD64 BaseOfDll );
Parameters
- hProcess
-
A handle to the process that was originally passed to the SymInitialize function.
- BaseOfDll
-
The base address of the module that is to be unloaded.
Return Value
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.
Remarks
All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.
Example Code
For an example, see Unloading a Symbol Module.
Requirements
Redistributable |
Requires DbgHelp.dll 5.1 or later. |
---|---|
Header |
Declared in Dbghelp.h. |
Library |
Use Dbghelp.lib. |
DLL |
Requires Dbghelp.dll. |
See Also
DbgHelp FunctionsSymInitialize
Send comments about this topic to Microsoft
Build date: 9/25/2007
© 2007 Microsoft Corporation. All rights reserved.