SplStdStop: Difference between revisions
Appearance
Created page with "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. ==Synt..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
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. | 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== | ==Syntax== | ||
SplStdStop(hdc) | SplStdStop(hdc) | ||
==Parameters== | ==Parameters== | ||
; hdc (HDC) - input : The device context handle. | ; hdc (HDC) - input : The device context handle. | ||
==Return Code== | ==Return Code== | ||
; rc (HSTD) - returns : Return codes. | ; 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. | |||
If an error occurs, the function returns SPL_ERROR. | |||
==Example Code== | ==Example Code== | ||
Line 21: | Line 21: | ||
rc = SplStdStop(hdc); | rc = SplStdStop(hdc); | ||
</PRE> | </PRE> | ||
[[Category:Spl]] | [[Category:Spl]] |
Latest revision as of 19:52, 2 July 2023
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);