Marshal
SystemDefaultCharSize
SystemMaxDBCSCharSize
AddRef(nint)
AllocCoTaskMem(Int32)
AllocHGlobal(Int32)
AllocHGlobal(nint)
AreComObjectsAvailableForCleanup()
BindToMoniker(String)
ChangeWrapperHandleStrength(Object, Boolean)
CleanupUnusedObjectsInCurrentContext()
Copy(Byte[], Int32, nint, Int32)
Copy(Char[], Int32, nint, Int32)
Copy(Double[], Int32, nint, Int32)
Copy(Int16[], Int32, nint, Int32)
Copy(Int32[], Int32, nint, Int32)
Copy(Int64[], Int32, nint, Int32)
Copy(nint, Byte[], Int32, Int32)
Copy(nint, Char[], Int32, Int32)
Copy(nint, Double[], Int32, Int32)
Copy(nint, Int16[], Int32, Int32)
Copy(nint, Int32[], Int32, Int32)
Copy(nint, Int64[], Int32, Int32)
Copy(nint, nint[], Int32, Int32)
Copy(nint, Single[], Int32, Int32)
Copy(nint[], Int32, nint, Int32)
Copy(Single[], Int32, nint, Int32)
CreateAggregatedObject(nint, Object)
CreateAggregatedObject<T>(nint, T)
CreateWrapperOfType(Object, Type)
CreateWrapperOfType<T, TWrapper>(T)
DestroyStructure(nint, Type)
DestroyStructure<T>(nint)
FinalReleaseComObject(Object)
FreeBSTR(nint)
FreeCoTaskMem(nint)
FreeHGlobal(nint)
GenerateGuidForType(Type)
GenerateProgIdForType(Type)
GetActiveObject(String)
GetComInterfaceForObject(Object, Type)
GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode)
GetComInterfaceForObject<T, TInterface>(T)
GetComInterfaceForObjectInContext(Object, Type)
GetComObjectData(Object, Object)
GetComSlotForMethodInfo(MemberInfo)
GetDelegateForFunctionPointer(nint, Type)
GetDelegateForFunctionPointer<TDelegate>(nint)
GetEndComSlot(Type)
GetExceptionCode()
GetExceptionForHR(Int32)
GetExceptionForHR(Int32, nint)
GetExceptionPointers()
GetFunctionPointerForDelegate(Delegate)
GetFunctionPointerForDelegate<TDelegate>(TDelegate)
GetHINSTANCE(Module)
GetHRForException(Exception)
GetHRForLastWin32Error()
GetIDispatchForObject(Object)
GetIDispatchForObjectInContext(Object)
GetITypeInfoForType(Type)
GetIUnknownForObject(Object)
GetIUnknownForObjectInContext(Object)
GetLastPInvokeError()
GetLastPInvokeErrorMessage()
GetLastSystemError()
GetLastWin32Error()
GetManagedThunkForUnmanagedMethodPtr(IntPtr, IntPtr, Int32)
GetMethodInfoForComSlot(Type, Int32, ComMemberType)
GetNativeVariantForObject(Object, nint)
GetNativeVariantForObject<T>(T, nint)
GetObjectForIUnknown(nint)
GetObjectForNativeVariant(nint)
GetObjectForNativeVariant<T>(nint)
GetObjectsForNativeVariants(nint, Int32)
GetObjectsForNativeVariants<T>(nint, Int32)
GetPInvokeErrorMessage(Int32)
GetStartComSlot(Type)
GetThreadFromFiberCookie(Int32)
GetTypedObjectForIUnknown(nint, Type)
GetTypeForITypeInfo(IntPtr)
GetTypeFromCLSID(Guid)
GetTypeInfoName(ITypeInfo)
GetTypeInfoName(UCOMITypeInfo)
GetTypeLibGuid(ITypeLib)
GetTypeLibGuid(UCOMITypeLib)
GetTypeLibGuidForAssembly(Assembly)
GetTypeLibLcid(ITypeLib)
GetTypeLibLcid(UCOMITypeLib)
GetTypeLibName(ITypeLib)
GetTypeLibName(UCOMITypeLib)
GetTypeLibVersionForAssembly(Assembly, Int32, Int32)
GetUniqueObjectForIUnknown(nint)
GetUnmanagedThunkForManagedMethodPtr(IntPtr, IntPtr, Int32)
InitHandle(SafeHandle, nint)
IsComObject(Object)
IsTypeVisibleFromCom(Type)
NumParamBytes(MethodInfo)
OffsetOf(Type, String)
OffsetOf<T>(String)
Prelink(MethodInfo)
PrelinkAll(Type)
PtrToStringAnsi(nint)
PtrToStringAnsi(nint, Int32)
PtrToStringAuto(nint)
PtrToStringAuto(nint, Int32)
PtrToStringBSTR(nint)
PtrToStringUni(nint)
PtrToStringUni(nint, Int32)
PtrToStringUTF8(nint)
PtrToStringUTF8(nint, Int32)
PtrToStructure(nint, Object)
PtrToStructure(nint, Type)
PtrToStructure<T>(nint)
PtrToStructure<T>(nint, T)
QueryInterface(nint, Guid, nint)
ReadByte(nint)
ReadByte(nint, Int32)
ReadByte(Object, Int32)
ReadInt16(nint)
ReadInt16(nint, Int32)
ReadInt16(Object, Int32)
ReadInt32(nint)
ReadInt32(nint, Int32)
ReadInt32(Object, Int32)
ReadInt64(nint)
ReadInt64(nint, Int32)
ReadInt64(Object, Int32)
ReadIntPtr(nint)
ReadIntPtr(nint, Int32)
ReadIntPtr(Object, Int32)
ReAllocCoTaskMem(nint, Int32)
ReAllocHGlobal(nint, nint)
Release(nint)
ReleaseComObject(Object)
ReleaseThreadCache()
SecureStringToBSTR(SecureString)
SecureStringToCoTaskMemAnsi(SecureString)
SecureStringToCoTaskMemUnicode(SecureString)
SecureStringToGlobalAllocAnsi(SecureString)
SecureStringToGlobalAllocUnicode(SecureString)
SetComObjectData(Object, Object, Object)
SetLastPInvokeError(Int32)
SetLastSystemError(Int32)
SizeOf(Object)
SizeOf(Type)
SizeOf<T>()
SizeOf<T>(T)
StringToAllocatedMemoryUTF8(String)
StringToBSTR(String)
StringToCoTaskMemAnsi(String)
StringToCoTaskMemAuto(String)
StringToCoTaskMemUni(String)
StringToCoTaskMemUTF8(String)
StringToHGlobalAnsi(String)
StringToHGlobalAuto(String)
StringToHGlobalUni(String)
StructureToPtr(Object, nint, Boolean)
StructureToPtr<T>(T, nint, Boolean)
ThrowExceptionForHR(Int32)
ThrowExceptionForHR(Int32, nint)
UnsafeAddrOfPinnedArrayElement(Array, Int32)
UnsafeAddrOfPinnedArrayElement<T>(T[], Int32)
WriteByte(nint, Byte)
WriteByte(nint, Int32, Byte)
WriteByte(Object, Int32, Byte)
WriteInt16(nint, Char)
WriteInt16(nint, Int16)
WriteInt16(nint, Int32, Char)
WriteInt16(nint, Int32, Int16)
WriteInt16(Object, Int32, Char)
WriteInt16(Object, Int32, Int16)
WriteInt32(nint, Int32)
WriteInt32(nint, Int32, Int32)
WriteInt32(Object, Int32, Int32)
WriteInt64(nint, Int64)
WriteInt64(nint, Int32, Int64)
WriteInt64(Object, Int32, Int64)
WriteIntPtr(nint, nint)
WriteIntPtr(nint, Int32, nint)
WriteIntPtr(Object, Int32, nint)
ZeroFreeBSTR(nint)
ZeroFreeCoTaskMemAnsi(nint)
ZeroFreeCoTaskMemUnicode(nint)
ZeroFreeCoTaskMemUTF8(nint)
ZeroFreeGlobalAllocAnsi(nint)
ZeroFreeGlobalAllocUnicode(nint)
net10.0-windows7.0
namespace System.Runtime.InteropServices
{
public static class Marshal
{
public static int GetLastPInvokeError();
}
}
nuget.org | 0.2 %
Reference this API |
---|---|
Upgrade Planner | 0.0 %
Reference this API |
Design Reviews |
|
.NET | 6.07.08.09.010.0 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | System.Runtime.InteropServices , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Runtime.InteropServices.NFloat.Internal (6.0.1) net6.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API