The OpenClipboard function opens the clipboard for examination and prevents other applications from modifying the clipboard content.
OpenClipboard 함수는 클립보드를 열며, 다른 프로그램이 클립보드 변경하는걸 막는다.
Identifies the window to be associated with the open clipboard. If this parameter is NULL, the open clipboard is associated with the current task.
지정한 핸들과 결합. 파라메터가 비었으면 현재 작업그룹의 핸들을 넣는다.
(그러니 비워도 될듯)
Return Values
리턴 값
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
열리면 참, 아니면 거짓! GetLastError 함수로 자세한 에러정보확인 가능
Remarks
OpenClipboard fails if another window has the clipboard open.
An application should call the CloseClipboard function after every successful call to OpenClipboard.
The window identified by the hWndNewOwner parameter does not become the clipboard owner unless the EmptyClipboard function is called.