wpQueryWarnBeforeStart (WPProgramFile) - Syntax

This method is specific to Version 4, or higher, of the OS/2 operating system.

This instance method queries the program reference's Warn Before Start flag. If this flag is set, put up a warning dialog before starting the program.

#define INCL_WINWORKPLACE
#include <os2.h>

WPProgramFile     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
BOOL               rc;       /*  Success indicator */

rc = _wpQueryWarnBeforeStart(somSelf);


[Back: wpQueryWarnBeforeStart (WPProgramFile)]
[Next: wpQueryWarnBeforeStart (WPProgramFile) Parameter - somSelf]