An example session creating an API frequency listing of Excel would be:

    apicount excel.exe excel

The output will be in excel.api with the following information:

APICOUNT: C:\EXCEL\EXCEL.EXE 		                <-- Name of binary being queried
C:\EXCEL\EXCEL.EXE Exe Flag Is Window API (PM App)      <-- Exe type (PM, VIO, full-screen
LFN Support                                                                                    <-- Long filename/EA support

 Volume in drive C has no label.
 The Volume Serial Number is 253A:F415
 Directory of C:\EXCEL

 2-12-91   5:26a   1276896           0  excel.exe
     1 File(s)   77420032 bytes free

The Microsoft Operating System/2 Version is 1.30 

Count  API  
------ --------------------------- 
    1, DEVCLOSEDC
    1, DEVESCAPE
    1, DEVOPENDC
    1, DEVPOSTDEVICEMODES
    1, DEVQUERYCAPS
    1, DEVQUERYHARDCOPYCAPS
    2, DOSALLOCSEG
    3, DOSCHDIR
    2, DOSCHGFILEPTR
    1, DOSCLOSE
    .
    :

Files:
--------

Relies on standard OS/2 SORT utility being available.  The files required
for frequency analysis are:

apicount.cmd	; Script file used to start analysis
hdr.exe		; C compiler tool used to dump exehdr import records
markexe.exe	; SDK tool to set/view the exetype (PM, VIO, full-screen)
strip.exe	; Removes fluff from exe header
count.exe	; After sorting, generates file with API count and ordinals
ord2name.exe	; Converts ordinals to API names
readme.txt	; This file
