Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreBoxBoundary draws a rectangular box with one corner at the current (X,Y) position and the opposite corner at the specified (X,Y) position. The current (X,Y) position does not change.
This function can be hooked by the presentation driver.
#define INCL_GRE_ARCS #include <os2.h> HDC hdc; /* Device context handle. */ PPOINTL pBox; /* Pointer to a BOXDATA structure: */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreBoxBoundary. */ LONG rc; rc = GreBoxBoundary(hdc, pBox, pInstance, lFunction);