Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CreateBoundaryDescriptor function

Creates a boundary descriptor.

Syntax


HANDLE WINAPI CreateBoundaryDescriptor(
  _In_ LPCTSTR Name,
  _In_ ULONG   Flags
);

Parameters

Name [in]

The name of the boundary descriptor.

Flags [in]

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 only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

Unicode and ANSI names

CreateBoundaryDescriptorW (Unicode) and CreateBoundaryDescriptorA (ANSI)

See also

AddSIDToBoundaryDescriptor
CreatePrivateNamespace
DeleteBoundaryDescriptor
Object Namespaces

 

 

Show:
© 2017 Microsoft