Skip to content

Latest commit

 

History

History
76 lines (62 loc) · 2.16 KB

nf-namespaceapi-openprivatenamespacew.md

File metadata and controls

76 lines (62 loc) · 2.16 KB
UIDtech.roottitlems.datetargetosdescriptionreq.assemblyreq.construct-typereq.ddi-compliancereq.dllreq.headerreq.idlreq.include-headerreq.irqlreq.kmdf-verreq.libreq.max-supportreq.namespacereq.redistreq.target-min-winverclntreq.target-min-winversvrreq.target-typereq.type-libraryreq.umdf-verreq.unicode-ansitopic_typeapi_typeapi_locationapi_namef1_keywordsdev_langs
NF:namespaceapi.OpenPrivateNamespaceW
Sync
OpenPrivateNamespaceW
08/05/2022
Windows
The OpenPrivateNamespaceW (Unicode) function (namespaceapi.h) opens a private namespace.
function
Kernel32.dll
namespaceapi.h
Kernel32.lib
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Windows
apiref
DllExport
Kernel32.dll
API-MS-Win-Core-Namespace-l1-1-0.dll
KernelBase.dll
API-MS-Win-DownLevel-Kernel32-l1-1-0.dll
API-Ms-Win-Core-Namespace-Ansi-L1-1-0.dll
Kernel32Legacy.dll
OpenPrivateNamespaceW
OpenPrivateNamespaceW
namespaceapi/OpenPrivateNamespaceW
c++

OpenPrivateNamespaceW function

-description

Opens a private namespace.

-parameters

-param lpBoundaryDescriptor [in]

A descriptor that defines how the namespace is to be isolated. The CreateBoundaryDescriptor function creates a boundary descriptor.

-param lpAliasPrefix [in]

The prefix for the namespace. To create an object in this namespace, specify the object name as prefix\objectname.

-returns

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.

-see-also

ClosePrivateNamespace
CreateBoundaryDescriptor
CreatePrivateNamespace
Object Namespaces

close