Kernel32CreateBoundaryDescriptor Method
Creates a boundary descriptor.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
public static IntPtr CreateBoundaryDescriptor(
string name,
uint flags
)
<DllImportAttribute("Kernel32.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ThrowOnUnmappableChar := true, SetLastError := true>]
Public Shared Function CreateBoundaryDescriptor (
name As String,
flags As UInteger
) As IntPtr
Dim name As String
Dim flags As UInteger
Dim returnValue As IntPtr
returnValue = Kernel32.CreateBoundaryDescriptor(name,
flags)
public:
[DllImportAttribute(L"Kernel32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
static IntPtr CreateBoundaryDescriptor(
[InAttribute] String^ name,
unsigned int flags
)
[<DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)>]
static member CreateBoundaryDescriptor :
name : string *
flags : uint32 -> IntPtr
No code example is currently available or this language may not be supported.
- name String
-
The name of the boundary descriptor.
- flags UInt32
-
This parameter is reserved for future use.
IntPtr
If the function succeeds, the return value is a handle to the boundary descriptor.
If the function fails, the return value is
Zero.
To get extended error information, call
GetLastWin32Error.