CreateBoundaryDescriptorA function

Creates a boundary descriptor.

Syntax

HANDLE CreateBoundaryDescriptorA(
  LPCSTR Name,
  ULONG  Flags
);

Parameters

Name

The name of the boundary descriptor.

Flags

This parameter is reserved for future use.

Return Value

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.

Requirements

   
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

See Also

AddSIDToBoundaryDescriptor

CreatePrivateNamespace

DeleteBoundaryDescriptor

Object Namespaces