Platform SDK: Debugging and Error Handling |
The following code unloads a symbol module referred to by the BaseOfDll
module address.
if (SymUnloadModule(hProcess, BaseOfDll) { // SymUnloadModule returned success } else { // SymUnloadModule failed error = GetLastError(); printf("SymUnloadModule returned error : %d\n", error); }