Expand Minimize
1 out of 7 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 12/18/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.