_SHELL_ShellExecute


include shell.inc
VxDcall _SHELL_ShellExecute, <ShexPacket>

Opens the file specified in the shex_ibFile member of the SHEXPACKET structure. The _SHELL_ShellExecute service calls the Windows ShellExecute function. Uses C calling conventions.

ShexPacket

Flat pointer to a SHEXPACKET structure.

This is an application-time-only service.

Note that the SHEXPACKET contains no pointers. All pointer-like values are byte offsets from the start of the packet. For example, the name of the file to be opened is stored at ShexPacket + ibFile.