Skip to content

Latest commit

 

History

History
84 lines (67 loc) · 2.82 KB

nf-namespaceapi-createboundarydescriptorw.md

File metadata and controls

84 lines (67 loc) · 2.82 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.CreateBoundaryDescriptorW
backup
CreateBoundaryDescriptorW
08/05/2022
Windows
The CreateBoundaryDescriptorW (Unicode) function (namespaceapi.h) creates a boundary descriptor.
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
CreateBoundaryDescriptorW
CreateBoundaryDescriptorW
namespaceapi/CreateBoundaryDescriptorW
c++

CreateBoundaryDescriptorW function

-description

Creates a boundary descriptor.

-parameters

-param Name [in]

The name of the boundary descriptor.

-param Flags [in]

A combination of the following flags that are combined by using a bitwise OR operation.

FlagDescription
CREATE_BOUNDARY_DESCRIPTOR_ADD_APPCONTAINER_SID (0x01)
Note: This value is not supported prior to Windows 8.
Required for creating a boundary descriptor in an appcontainer process, regardless of producer or consumer.

-returns

If the function succeeds, the return value is a handle to the boundary descriptor.

If the function fails, the return value is NULL. To get extended error information, call GetLastError.

-remarks

A new boundary descriptor must have at least one security identifier (SID). To add a SID to a boundary descriptor, use the AddSIDToBoundaryDescriptor function.

To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or later.

-see-also

AddSIDToBoundaryDescriptor
CreatePrivateNamespace
DeleteBoundaryDescriptor
Object Namespaces

close