MFSH_SYSCTL

From EDM2
Jump to: navigation, search

Do additional system controls. Perform some actions, like getting the DevHelp entry point.

Syntax

int far pascal MFSH_SYSCTL(ulType, void far *ptr)

Parameters

ulType
specifies the control type.
ptr
is a pointer to a structure the system control returns.

ulType == 1 means getting the DevHelp pointer. It is called like this:

MFSH_SYSCTL(1, &DevHelp);

Returns

If no error is detected, a zero error code is returned. Currently, if ulType <> 1, the following error is returned:

ERROR_INVALID_PARAMETER
the supplied control type is invalid

Sample

unsigned long ulType;
void far * ptr;

int far pascal MFSH_SYSCTL(ulType, void far *ptr)