GpiQueryYInversion()

Definition:

LONG APIENTRY GpiQueryYInversion(HPS hps);

This function is exported by PMGPI.DLL as ordinal 726. You can tell the linker to import it, by adding something like this to your *.def file:

IMPORTS GpiQueryYInversion = PMGPI.726

Notes:

I think it was introduced with the Open32 API (previously called DAPIE or DAX). It's purpose is to ease the porting of Windows applications to OS/2.

This API will return the Y-Inversion value set for the HPS previously using the GpiEnableYInversion API. Please check that for more details!