Jump to content

MFSH_SYSCTL

From EDM2
Revision as of 04:30, 21 May 2019 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:MFSH_SYSCTL}} Do additional system controls. Perform some actions, like getting the DevHelp entry point. ==Syntax== int far pascal MFSH_SYSCTL(ulType, void far...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

Remarks

None