Returns the application type of an executable file.

#define INCL_DOSMODULEMGR
#include <os2.h>

PSZ       pszName;  /*  An ASCIIZ string that contains the file name of the executable file for which the flags are to be returned. */
PULONG    pFlags;
APIRET    ulrc;     /*  Return Code. */

ulrc = DosQueryAppType(pszName, pFlags);


[Back] [Next]