网站首页  计算机词典

请输入您要查询的字词:

 

字词 getpriorityclipboardformat
释义 GetPriorityClipboardFormat
语法:
int GetPriorityClipboardFormat( UINT *paFormatPriorityList,
int cFormats
);
GetPriorityClipboardFormat功能
该GetPriorityClipboardFormat函数检索指定列表中的第一个可用的剪贴板格式。
参数
paFormatPriorityList
[in]指向一个确定剪贴板格式符号整数数组,优先顺序。对于一个标准的剪贴板格式的说明,见标准剪贴板格式。
cFormats
[in]指定条目的paFormatPriorityList个数。此值不能大于列表中的条目数量。
返回值
如果函数成功,返回值是列表中的数据,它推出的第一批剪贴板格式。如果剪贴板为空,则返回值为NULL。如果剪贴板中的数据,但在没有任何规定的格式,返回值是-1。为了获得更多错误信息,调用GetLastError。
备注
举例说,看到一个剪贴板查看示例。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
剪贴板,CountClipboardFormats,EnumClipboardFormats,GetClipboardFormatName,IsClipboardFormatAvailable,RegisterClipboardFormat
==英文原文==GetPriorityClipboardFormat Function
The GetPriorityClipboardFormat function retrieves the first available clipboard format in the specified list.
Syntax
int GetPriorityClipboardFormat( UINT *paFormatPriorityList,
int cFormats
);
Parameters
paFormatPriorityList
[in] Pointer to an array of unsigned integers identifying clipboard formats, in priority order. For a description of the standard clipboard formats, see Standard Clipboard Formats .
cFormats
[in] Specifies the number of entries in the paFormatPriorityList array. This value must not be greater than the number of entries in the list.
Return Value
If the function succeeds, the return value is the first clipboard format in the list for which data is available. If the clipboard is empty, the return value is NULL. If the clipboard contains data, but not in any of the specified formats, the return value is –1. To get extended error information, call GetLastError .
Remarks
For an example, see Example of a Clipboard Viewer .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
See Also
Clipboard , CountClipboardFormats , EnumClipboardFormats , GetClipboardFormatName , IsClipboardFormatAvailable , RegisterClipboardFormat
==原始网址==http://msdn.microsoft.com/en-us/library/ms649045(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/24 0:35:18