网站首页  词典首页

请输入您要查询的函数:

 

术语 getntmsmediapoolname
释义 GetNtmsMediaPoolName
语法:
C++
DWORD GetNtmsMediaPoolName(
__in HANDLE hSession,
__in LPNTMS_GUID lpPoolId,
__out LPTSTR lpBufName,
__inout LPDWORD lpdwBufSize
);
GetNtmsMediaPoolName功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该GetNtmsMediaPoolName函数检索指定的媒体池的全名层次。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpPoolId [in]
媒体的唯一标识号池的名称是要检索。
lpBufName [out]
指向一个缓冲区,它接收媒体池的名称。
lpdwBufSize [ in , out ]
的大小lpBufName缓冲区,在输入。对产出,在层次的全名中的字符数。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_INSUFFICIENT_BUFFERThe缓冲区大小不够大。正确的大小是返回lpdwBufSize。
ERROR_INVALID_HANDLEThe价值hSession参数指定为NULL或无效。
ERROR_INVALID_MEDIA_POOLThe媒体池身份证丢失或无效。
ERROR_INVALID_PARAMETERThe参数丢失或无效。
ERROR_NOT_ENOUGH_MEMORYThe内存分配失败。
ERROR_SUCCESSThe功能是成功的。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
Unicode和ANSI namesGetNtmsMediaPoolNameW(Unicode)和GetNtmsMediaPoolNameA(ANSI)的
参见
媒体服务函数
CreateNtmsMediaPool
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==GetNtmsMediaPoolName Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The GetNtmsMediaPoolName function retrieves the specified media pool's full name hierarchy.
Syntax
C++
DWORD GetNtmsMediaPoolName(
__in HANDLE hSession,
__in LPNTMS_GUID lpPoolId,
__out LPTSTR lpBufName,
__inout LPDWORD lpdwBufSize
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpPoolId [in]
Unique identifier of the media pool whose name is to be retrieved.
lpBufName [out]
Pointer to a buffer that receives the name of the media pool.
lpdwBufSize [in, out]
Size of the lpBufName buffer, on input. On output, the number of characters in the full name hierarchy.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_INSUFFICIENT_BUFFERThe buffer size is not large enough. The correct size is returned in lpdwBufSize.
ERROR_INVALID_HANDLEThe value specified in the hSession parameter is NULL or is not valid.
ERROR_INVALID_MEDIA_POOLThe media pool ID is missing or is not valid.
ERROR_INVALID_PARAMETERThe parameter is missing or is not valid.
ERROR_NOT_ENOUGH_MEMORYThe memory allocation failed.
ERROR_SUCCESSThe function was successful.

Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
End of client supportWindows Vista
End of server supportWindows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
Unicode and ANSI namesGetNtmsMediaPoolNameW (Unicode) and GetNtmsMediaPoolNameA (ANSI)
See Also
Media Services Functions
CreateNtmsMediaPool
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb525509(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:24:22