JCL Help:PeMapFindResource@HMODULE@PChar@string

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Looks for a given resource within a module.

Pascal

 function PeMapFindResource(const Module: HMODULE; const ResourceType: PChar; const ResourceName: string): Pointer;

Parameters

Parameters Description
Module The module instance that is searched.
ResourceType The type of the resource.
ResourceName The name of the resource.

Return Value

Returns a pointer to the resource data if found, otherwise nil.

Description

Searches the module *Module* for the resource data named *ResourceName*, having the type *ResourceType*, in order to provide a pointer to that resource.


About

Unit

JclPeImage


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page