home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_03_06 / 3n06033b < prev    next >
Text File  |  1992-03-31  |  841b  |  30 lines

  1. -=-=-=-=-=-=-=-=-=-=-=-=-=-=Begin Listing 5=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  2. /*****************************************************/
  3. /* module.h                                          */
  4. /* -- Definition of the MODULEENTRY struct used by   */
  5. /*    the toolhelp DLL.                              */
  6. /*****************************************************/
  7.  
  8. typedef struct
  9.     {
  10.     /* Size of this structure in bytes.  Must be */
  11.     /* pre-initialized by user. */
  12.     DWORD   dwSize;
  13.  
  14.     /* Name of the module. */
  15.     char    szModule[MAX_MODULE_NAME + 1];
  16.  
  17.     /* Module handle. */
  18.     HANDLE  hModule;
  19.  
  20.     /* Reference count. */
  21.     WORD    wcUsage;
  22.  
  23.     /* Location of module on disk. */
  24.     char    szExePath[MAX_PATH + 1];
  25.  
  26.     /* Reserved for internal use. */
  27.     WORD    wNext;
  28.     } MODULEENTRY;
  29.  
  30.