Platform SDK: Debugging and Error Handling

UnmapDebugInformation

The UnmapDebugInformation function deallocates the memory and resources allocated by a call to the MapDebugInformation function.

Note  This function is provided only for backward compatibility. New applications should use the SymUnloadModule function.

BOOL UnmapDebugInformation(
  PIMAGE_DEBUG_INFORMATION DebugInfo 
);

Parameters

DebugInfo
[in] Pointer to an IMAGE_DEBUG_INFORMATION structure that is returned from a call to MapDebugInformation.

Return Values

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

The UnmapDebugInformation function is the counterpart to the MapDebugInformation function and must be used to deallocate the memory and resources allocated by a call to the MapDebugInformation function.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in Dbghelp.h.
  Library: Use Dbghelp.lib.

See Also

Debug Help Library Overview, DbgHelp Functions, IMAGE_DEBUG_INFORMATION, MapDebugInformation