GDI File, Module, and Process Services

GDI provides a variety of services for file, module, and process manipulation.

Function Description

EngDeleteFile

Deletes a file.

EngFindImageProcAddress

Returns the address of a function within an executable module.

EngFindResource

Determines the location of a resource in a module.

EngFreeModule

Unmaps a file from system memory.

EngGetCurrentProcessId

Gets the ID of the current process.

EngGetCurrentThreadId

Gets the ID of the current thread.

EngGetFileChangeTime

Returns the time a file was last written to.

EngGetFilePath

Determines the file path associated with the specified font file.

EngGetProcessHandle

Retrieves a handle to the current client process.

EngLoadImage

Loads the specified executable image into kernel-mode memory.

EngLoadModule

Loads the specified data module into system memory for reading.

EngLoadModuleForWrite

Loads the specified executable module into system memory for writing.

EngMapFile

Creates or opens a file and maps it into system space.

EngMapFontFile

Obsolete. See the entry in this table for EngMapFontFileFD.

EngMapFontFileFD

Maps a font file into system memory, if necessary, and returns a pointer to the base location of the font data in the file.

EngMapModule

Returns the address and size of an executable file that was loaded by EngLoadModule.

EngQueryFileTimeStamp

Returns the time stamp of a file.

EngUnloadImage

Unloads an image loaded by EngLoadModule.

EngUnmapFile

Unmaps the view of a file from system space.

EngUnmapFontFile

Obsolete. See the entry in this table for EngUnmapFontFileFD.

EngUnmapFontFileFD

Unmaps the specified font file from system memory.

Send comments about this topic to Microsoft