网站首页  词典首页

请输入您要查询的函数:

 

术语 openprivatenamespace
释义 OpenPrivateNamespace
语法:
C++
HANDLE WINAPI OpenPrivateNamespace(
__in LPVOID lpBoundaryDescriptor,
__in LPCTSTR lpAliasPrefix
);
OpenPrivateNamespace功能
打开一个私人空间。
参数
lpBoundaryDescriptor [in]
描述符定义的命名空间是如何被孤立。调用者必须在这条边界。该CreateBoundaryDescriptor函数创建一个边界描述。
lpAliasPrefix [in]
为命名空间前缀。要创建此命名空间中的对象,指定为前缀的对象名称\\的ObjectName。
该系统支持具有相同名称的多个私人空间,只要定义不同的界限。
返回值
该函数返回的句柄现有的命名空间。
备注
要编译的应用程序使用此功能,定义_WIN32_WINNT为0x0600或更高版本。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesOpenPrivateNamespaceW(Unicode)和OpenPrivateNamespaceA(ANSI)的
参见
ClosePrivateNamespace
CreateBoundaryDescriptor
CreatePrivateNamespace
Object Namespaces
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==OpenPrivateNamespace Function
Opens a private namespace.
Syntax
C++
HANDLE WINAPI OpenPrivateNamespace(
__in LPVOID lpBoundaryDescriptor,
__in LPCTSTR lpAliasPrefix
);
Parameters
lpBoundaryDescriptor [in]
A descriptor that defines how the namespace is to be isolated. The caller must be within this boundary. The CreateBoundaryDescriptor function creates a boundary descriptor.
lpAliasPrefix [in]
The prefix for the namespace. To create an object in this namespace, specify the object name as prefix\\objectname.
The system supports multiple private namespaces with the same name, as long as they define different boundaries.
Return Value
The function returns the handle to the existing namespace.
Remarks
To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or later.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesOpenPrivateNamespaceW (Unicode) and OpenPrivateNamespaceA (ANSI)
See Also
ClosePrivateNamespace
CreateBoundaryDescriptor
CreatePrivateNamespace
Object Namespaces
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms684318(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 13:20:38