CloseClipboard

 

Description

This function closes the clipboard.

Syntax

BOOL CloseClipboard( void )

Parameters

void

Return

Returns TRUE for success.

Examples

EX1

int CloseClipboard_ex1()
{
    if(OpenClipboard(NULL))
    {
        EmptyClipboard();
        CloseClipboard();
    }
    return 1;
}

Remark

This function closes the clipboard When the window has finished examining or changing the clipboard, close the clipboard by calling CloseClipboard. This enables other windows to access the clipboard. Do not place an object on the clipboard after calling CloseClipboard.

See Also

OpenClipboard

header to Include

origin.h

Reference