Export (0) Print
Expand All

Unloading a Symbol Module

The following code unloads a symbol module referred to by the BaseOfDll module address using SymUnloadModule64.


if (SymUnloadModule64(hProcess, BaseOfDll))
{
    // SymUnloadModule64 returned success
}
else
{
    // SymUnloadModule64 failed
    DWORD error = GetLastError();
    printf("SymUnloadModule64 returned error : %d\n", error);
}


Related topics

Loading a Symbol Module

 

 

Community Additions

ADD
Show:
© 2014 Microsoft