Jump to content

MFSH SYSCTL: Difference between revisions

From EDM2
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..."
(No difference)

Revision as of 04:30, 21 May 2019

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