Expand Minimize
This topic has not yet been rated - Rate this topic

FindExecutableImageProc callback function

An application-defined callback function used with the FindExecutableImageEx function. It verifies whether the executable file found by FindExecutableImageEx is the correct executable file.

The PFIND_EXE_FILE_CALLBACK and PFIND_EXE_FILE_CALLBACKW types define a pointer to this callback function. FindExecutableImageProc is a placeholder for the application-defined function name.

Syntax


BOOL CALLBACK FindExecutableImageProc(
  _In_  HANDLE FileHandle,
  _In_  PCTSTR FileName,
  _In_  PVOID CallerData
);

Parameters

FileHandle [in]

A handle to the executable file.

FileName [in]

The name of the executable file.

CallerData [in]

Optional user-defined data. This parameter can be NULL.

Return value

If the executable file is valid, return TRUE. Otherwise, return FALSE.

Requirements

Redistributable

DbgHelp.dll 5.1 or later

Header

DbgHelp.h

See also

DbgHelp Functions
FindExecutableImageEx

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.