Upravit

Sdílet prostřednictvím


Overlapped.Unpack(NativeOverlapped*) Method

Definition

Important

This API is not CLS-compliant.

Unpacks the specified unmanaged NativeOverlapped structure into a managed Overlapped object.

public:
 static System::Threading::Overlapped ^ Unpack(System::Threading::NativeOverlapped* nativeOverlappedPtr);
[System.CLSCompliant(false)]
public static System.Threading.Overlapped Unpack (System.Threading.NativeOverlapped* nativeOverlappedPtr);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static System.Threading.Overlapped Unpack (System.Threading.NativeOverlapped* nativeOverlappedPtr);
[<System.CLSCompliant(false)>]
static member Unpack : nativeptr<System.Threading.NativeOverlapped> -> System.Threading.Overlapped
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member Unpack : nativeptr<System.Threading.NativeOverlapped> -> System.Threading.Overlapped

Parameters

nativeOverlappedPtr
NativeOverlapped*

An unmanaged pointer to a NativeOverlapped structure.

Returns

An Overlapped object containing the information unpacked from the native structure.

Attributes

Exceptions

nativeOverlappedPtr is null.

Remarks

The NativeOverlapped structure is not freed from physical memory until you call the Free method.

Applies to