Jump to content

SplStdStop

From EDM2

SplStdStop stops the recording of GPI and DevEscape calls in the PM_Q_STD buffer. The hardcopy driver's Escape routine calls SplStdStop when DEVESC_ENDDOC is received.

Syntax

SplStdStop(hdc)

Parameters

hdc (HDC) - input
The device context handle.

Return Code

rc (HSTD) - returns
Return codes.

If successful, this function returns the handle to the buffer (hstd) that contains the recorded GPI and DevEscape data.

If an error occurs, the function returns SPL_ERROR.

Example Code

#include <os2.h>

HDC     hdc;  /*  The device context handle. */
HSTD    rc;   /*  Return codes. */

rc = SplStdStop(hdc);