OpenPrivateNamespaceA function (winbase.h)
Opens a private namespace.
HANDLE OpenPrivateNamespaceA(
[in] LPVOID lpBoundaryDescriptor,
[in] LPCSTR lpAliasPrefix
);
[in] lpBoundaryDescriptor
A descriptor that defines how the namespace is to be isolated. The CreateBoundaryDescriptor function creates a boundary descriptor.
[in] lpAliasPrefix
The prefix for the namespace. To create an object in this namespace, specify the object name as prefix\objectname.
The function returns the handle to the existing namespace.
To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or later.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | winbase.h (include Windows.h) |
Library | Kernel32.lib |
DLL | Kernel32.dll |