Back to index

php5  5.3.10
Functions
deplister.c File Reference
#include <windows.h>
#include <imagehlp.h>

Go to the source code of this file.

Functions

BOOL CALLBACK StatusRoutine (IMAGEHLP_STATUS_REASON reason, PSTR image_name, PSTR dll_name, ULONG va, ULONG param)
int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 47 of file deplister.c.

{
       return BindImageEx(BIND_NO_BOUND_IMPORTS | BIND_NO_UPDATE | BIND_ALL_IMAGES,
              argv[1], NULL, argv[2], StatusRoutine);   
}

Here is the call graph for this function:

BOOL CALLBACK StatusRoutine ( IMAGEHLP_STATUS_REASON  reason,
PSTR  image_name,
PSTR  dll_name,
ULONG  va,
ULONG  param 
)

Definition at line 27 of file deplister.c.

{
       switch (reason) {
              case BindImportModuleFailed:
                     printf("%s,NOTFOUND\n", dll_name);
                     return TRUE;

              case BindImportModule:
                     printf("%s,OK\n", dll_name);
                     return TRUE;
       }
       return TRUE;
}

Here is the caller graph for this function: