Jump to content

SplStdClose: Difference between revisions

From EDM2
Created page with "SplStdClose closes the PM_Q_STD buffer. fSuccess = SplStdClose(hdc); ==Parameters== ; hdc (HDC) - input :The device context handle. ==Returns== ; fSuccess (BOOL) - ret..."
 
No edit summary
 
Line 27: Line 27:
==Remarks==
==Remarks==
The call to SplStdClose is made from the presentation driver's BeginCloseDC routine when the device type is OD_QUEUED and the data type is PM_Q_STD. SplStdClose must not be called at any other time.
The call to SplStdClose is made from the presentation driver's BeginCloseDC routine when the device type is OD_QUEUED and the data type is PM_Q_STD. SplStdClose must not be called at any other time.
[[Category:Spl]]

Latest revision as of 19:31, 20 November 2019

SplStdClose closes the PM_Q_STD buffer.

fSuccess = SplStdClose(hdc);

Parameters

hdc (HDC) - input
The device context handle.

Returns

fSuccess (BOOL) - returns
Return codes.

This function returns BOOLEAN (fSuccess): .

TRUE Success 
FALSE Error 

Example

#include <os2.h>

HDC     hdc;       /*  The device context handle. */
BOOL    fSuccess;  /*  Return codes. */

fSuccess = SplStdClose(hdc);

Remarks

The call to SplStdClose is made from the presentation driver's BeginCloseDC routine when the device type is OD_QUEUED and the data type is PM_Q_STD. SplStdClose must not be called at any other time.