CEL_MODULE_FREE
A version of this page is also available for
4/8/2010
This structure identifies a module that was loaded.
Syntax
typedef __CEL_MODULE_FREE {
HANDLE hProcess;
HANDLE hModule;
} CEL_MODULE_FREE, *PCEL_MODULE_FREE;
Members
hProcess
Handle of the process that freed the module.In Windows CE 5.0, if this field is INVALID_HANDLE_VALUE (0xFFFFFFFF), the event indicates that the module was unloaded for the last time. After this event, no instances of the module are loaded by any process.
- hModule
Handle of the freed module.
Remarks
In Windows CE 5.0, CEL_MODULE_FREE is logged each time a process unloads the module for the last time.
If several processes load and then unload the module, one CEL_MODULE_FREE event is logged for each process.
When a process is the last process to unload a module, the kernel logs two CEL_MODULE_FREE structures:
- A CEL_MODULE_FREE structure is logged with an hProcess value set to the handle of the last process to unload the module.
- Another CEL_MODULE_FREE structure is logged with an hProcess value set to INVALID_HANDLE_VALUE to indicate that the module is being unloaded for the last time by any process.
If any process unloads the module more than once, only one CEL_MODULE_FREE event is logged for that process.
Requirements
Header | celog.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |