This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.