Export (0) Print
Expand All
Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft