Skip to content

Latest commit

 

History

History
103 lines (76 loc) · 3.58 KB

nf-winbase-createboundarydescriptora.md

File metadata and controls

103 lines (76 loc) · 3.58 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winbase.CreateBoundaryDescriptorA
CreateBoundaryDescriptorA function (winbase.h)
The CreateBoundaryDescriptorA (ANSI) function (winbase.h) creates a boundary descriptor.
CreateBoundaryDescriptor
CreateBoundaryDescriptor function
CreateBoundaryDescriptorA
CreateBoundaryDescriptorW
base.createboundarydescriptor
winbase/CreateBoundaryDescriptor
winbase/CreateBoundaryDescriptorA
winbase/CreateBoundaryDescriptorW
base\createboundarydescriptor.htm
backup
c7789e90-8dfb-47ee-a0b2-906520982d84
08/03/2022
CreateBoundaryDescriptor, CreateBoundaryDescriptor function, CreateBoundaryDescriptorA, CreateBoundaryDescriptorW, base.createboundarydescriptor, winbase/CreateBoundaryDescriptor, winbase/CreateBoundaryDescriptorA, winbase/CreateBoundaryDescriptorW
winbase.h
Windows.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
CreateBoundaryDescriptorW (Unicode) and CreateBoundaryDescriptorA (ANSI)
Kernel32.lib
Kernel32.dll
Windows
19H1
CreateBoundaryDescriptorA
winbase/CreateBoundaryDescriptorA
c++
APIRef
kbSyntax
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
CreateBoundaryDescriptor
CreateBoundaryDescriptorA
CreateBoundaryDescriptorW

CreateBoundaryDescriptorA 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.

Flag Description
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