Help Center

AfxGetClipboardDatafunction

Retrieves data from the clipboard in the specified format.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetClipboardData (BYVAL cfFormat AS DWORD) AS HGLOBAL

Parameters

NameDescription
cfFormatThe clipboard format. This parameter can be a registered format or any of the standard clipboard formats.

Return value

If the function succeeds, the return value is the handle to the data. If the function fails, the return value is NULL.

Description

Retrieves data from the clipboard in the specified format.

Standard clipboard formats:

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:3206
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures