Bindimageex Api
Essay by 24 • August 29, 2010 • 510 Words (3 Pages) • 1,520 Views
The BindImageEx function computes the virtual address of each function that is imported.
This function supersedes the BindImage function. Use BindImageEx to provide a status routine or flags to control the image binding.
BOOL BindImageEx(
DWORD Flags,
PSTR ImageName,
PSTR DllPath,
PSTR SymbolPath,
PIMAGEHLP_STATUS_ROUTINE StatusRoutine
);
Parameters
Flags
[in] Specifies the behavior of the function. This parameter can be a combination of the following values. Value Meaning
BIND_NO_BOUND_IMPORTS Do not generate a new import address table.
Windows 95/98/Me: This flag is required.
BIND_NO_UPDATE Do not make changes to the file.
BIND_ALL_IMAGES Bind all images in the call tree for this file.
BIND_CACHE_IMPORT_DLLS Do not discard DLL information in the cache between calls. This improves performance when binding a large number of images.
ImageName
[in] Pointer to a null-terminated string that specifies the name of the file to be bound. This value can be a file name, a partial path, or a full path.
DllPath
[in] Pointer to a null-terminated string that specifies the root of the search path to use if the file specified by the ImageName parameter cannot be opened.
SymbolPath
[in] Pointer to a null-terminated string that specifies the root of the path to search for the file's corresponding symbol file.
StatusRoutine
[in] Pointer to a status routine. The status routine is called during
...
...