网站首页  词典首页

请输入您要查询的函数:

 

术语 claimmedialabel
释义 ClaimMediaLabel
语法:
C++
DWORD WINAPI ClaimMediaLabel(
__in const BYTE const *pBuffer,
__in const DWORD nBufferSize,
__out MediaLabelInfo const *pLabelInfo
);
ClaimMediaLabel回调函数
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
回调函数的ClaimMediaLabel决定一个标签指定的媒体是媒体的相关应用程序创建的。
参数
pBuffer [in]
缓冲区指针包含媒体标签。
nBufferSize [in]
大小的缓冲区,以字节为单位。
pLabelInfo [out]
指针MediaLabelInfo结构。媒体标签库填充如果库承认媒体标签,在此结构。
返回值
这个函数返回下列值之一。
ValueMeaning
NO_ERRORThe媒体标签库在MediaLabelInfo结构的填充。
ERROR_BAD_FORMATThe媒体标签库不承认媒体标签。
备注
当一个媒体标签库使用ClaimMediaLabel职能确定为媒体标签之一,其关联的应用程序创建的媒体标签库必须填写MediaLabelInfo结构和返回NO_ERROR。如果媒体标签库不承认媒体标签,则返回ERROR_BAD_FORMAT。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsMli.h
参见
媒体标签库函数
MediaLabelInfo
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ClaimMediaLabel Callback Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The ClaimMediaLabel callback function determines whether a specified media label was created by the media's associated application.
Syntax
C++
DWORD WINAPI ClaimMediaLabel(
__in const BYTE const *pBuffer,
__in const DWORD nBufferSize,
__out MediaLabelInfo const *pLabelInfo
);
Parameters
pBuffer [in]
Pointer to a buffer that contains the media label.
nBufferSize [in]
Size of the buffer, in bytes.
pLabelInfo [out]
Pointer to a MediaLabelInfo structure. The media label library fills in this structure if the library recognizes the media label.
Return Value
This function returns one of the following values.
ValueMeaning
NO_ERRORThe media label library filled in the MediaLabelInfo structure.
ERROR_BAD_FORMATThe media label library does not recognize the media label.

Remarks
When a media label library uses the ClaimMediaLabel function to identify the media label as one created by its associated application, the media label library must fill in the MediaLabelInfo structure and return NO_ERROR. If the media label library does not recognize the media label, it returns ERROR_BAD_FORMAT.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
End of client supportWindows Vista
End of server supportWindows Server 2008
HeaderNtmsMli.h
See Also
Media Label Library Functions
MediaLabelInfo
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb525480(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:27:12