SplStdOpen: Difference between revisions
Appearance
Created page with "SplStdOpen opens a spool buffer for PM_Q_STD data. ==Syntax== SplStdOpen(hdc); ==Parameters== ; hdc (HDC) - input : The device context handle. ==Return Code== ; fSuccess..." |
(No difference)
|
Revision as of 20:45, 19 November 2019
SplStdOpen opens a spool buffer for PM_Q_STD data.
Syntax
SplStdOpen(hdc);
Parameters
- hdc (HDC) - input
- The device context handle.
Return Code
- fSuccess (BOOL) - returns
- Return codes.
This function returns BOOLEAN (fSuccess): .
- TRUE Success
- FALSE Error
Remarks
The call to SplStdOpen is made from the hardcopy driver's CompleteOpenDC routine when the device type is OD_QUEUED and the data type is PM_Q_STD. SplStdOpen must not be called at any other time.
Example Code
#include <os2.h> HDC hdc; /* The device context handle. */ BOOL fSuccess; /* Return codes. */ fSuccess = SplStdOpen(hdc);