UnmapDebugInformation

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

BOOL UnmapDebugInformation(

IN PIMAGE_DEBUG_INFORMATION DebugInfo  
);  

Parameters

DebugInfo

A pointer to an IMAGE_DEBUG_INFORMATION structure that is returned from a call to the MapDebugInformation function.

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, then 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.