Język

Overlapped.Unpack(NativeOverlapped*) Metoda

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Rozpakowuje określoną niezarządzaną NativeOverlapped strukturę do zarządzanego Overlapped obiektu.

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

Parametry

nativeOverlappedPtr
NativeOverlapped*

Niezarządzany wskaźnik do NativeOverlapped struktury.

Zwraca

Overlapped Obiekt zawierający informacje rozpakowane ze struktury natywnej.

Atrybuty

Wyjątki

Parametr nativeOverlappedPtr ma wartość null.

Uwagi

Struktura NativeOverlapped nie jest zwalniana z pamięci fizycznej, dopóki nie wywołasz Free metody .

Dotyczy