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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
CreateBoundaryDescriptorW (Unicode) and CreateBoundaryDescriptorA (ANSI) |
See also