_CorImageUnloading

Notifies the loader when the managed module images are unloaded.

In Windows XP, the operating system loader checks for managed modules by examining a bit in the common object file format (COFF) header. A set bit denotes a managed module. If the loader detects managed modules, it loads Mscoree.dll. The _CorValidateImage method notifies the loader when the managed module images are loaded, and the _CorImageUnloading method notifies the loader when the managed module images are unloaded.

Syntax

STDAPI (VOID) _CorImageUnloading(
  PVOID* ImageBase
);

Parameters

  • ImageBase
    The pointer to the starting location of the image to unload.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Declared in Mscoree.h.
Library: Included as a resource in Mscoree.dll.