Jump to content

SplStdClose

From EDM2
Revision as of 19:31, 20 November 2019 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.