CreateBoundaryDescriptor function (Windows)

Switch View :
ScriptFree
CreateBoundaryDescriptor function

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2008

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

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012