Simulation support:
None. This function is mandatory for all drivers.
Description:
GreSetLineOrigin sets the current line style and current position.
This function must be supported by the presentation driver. GreSetLineOrigin is used to enable the simultaneous update of line style and position. This function can be handled by bit-map simulation.
#define INCL_GRE_DEVMISC3 #include <os2.h> HDC hdc; /* Device context handle. */ PPOINTL pptlXY; /* Pointer to an (X,Y) coordinate pair to which the current position is returned. */ ULONG lStyle; /* Style number. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSetLineOrigin. * / BOOL rc ; / * Return codes . * / rc = GreSetLineOrigin ( hdc , pptlXY , lStyle , pInstance , lFunction ) ;