|
| Name | Description |
|---|
.gif) .gif) .gif) | AddRef | Increments the reference count on the specified interface. |
.gif) .gif) .gif) | AllocCoTaskMem | Allocates a block of memory of specified size from the COM task memory allocator. |
.gif) .gif) .gif) | AllocHGlobal | Overloaded. Allocates a block of memory using LocalAlloc. |
.gif) .gif) | BindToMoniker | Gets an interface pointer identified by the specified moniker. |
.gif) .gif) | ChangeWrapperHandleStrength | Changes the strength of a COM callable wrapper's (CCW) handle on the object it contains. |
.gif) .gif) .gif) .gif) | Copy | Overloaded. Copies data from a managed array to an unmanaged memory pointer, or from an unmanaged memory pointer to a managed array. |
.gif) .gif) | CreateAggregatedObject | Aggregates a managed object with the specified COM object. |
.gif) .gif) | CreateWrapperOfType | Wraps the specified COM object in an object of the specified type. |
.gif) .gif) .gif) .gif) | DestroyStructure | Frees all substructures pointed to by the specified unmanaged memory block. |
.gif) .gif) .gif) | FinalReleaseComObject | Releases all references to a runtime callable wrapper (RCW) by setting the reference count of the supplied RCW to 0. |
.gif) .gif) .gif) | FreeBSTR | Frees a BSTR using SysFreeString. |
.gif) .gif) .gif) | FreeCoTaskMem | Frees a block of memory allocated by the unmanaged COM task memory allocator with Marshal..::.AllocCoTaskMem. |
.gif) .gif) .gif) | FreeHGlobal | Frees memory previously allocated from the unmanaged memory of the process with AllocHGlobal. |
.gif) .gif) | GenerateGuidForType | Returns the globally unique identifier (GUID) for the specified type, or generates a GUID using the algorithm used by the Type Library Exporter (Tlbexp.exe). |
.gif) .gif) | GenerateProgIdForType | Returns a programmatic identifier (ProgID) for the specified type. |
.gif) .gif) | GetActiveObject | Obtains a running instance of the specified object from the Running Object Table (ROT). |
.gif) .gif) .gif) | GetComInterfaceForObject | Returns an interface pointer that represents the specified interface for an object. |
.gif) .gif) | GetComInterfaceForObjectInContext | Returns an interface pointer that represents the specified interface for an object, if the caller is in the same context as that object. |
.gif) .gif) | GetComObjectData | Gets data referenced by the specified key from the specified COM object. |
.gif) .gif) | GetComSlotForMethodInfo | Gets the virtual function table (VTBL) slot for a specified System.Reflection..::.MemberInfo when exposed to COM. |
.gif) .gif) | GetDelegateForFunctionPointer | Converts an unmanaged function pointer to a delegate. |
.gif) .gif) | GetEndComSlot | Gets the last slot in the virtual function table (VTBL) of a type when exposed to COM. |
.gif) .gif) | GetExceptionCode | Retrieves a code that identifies the type of the exception that occurred. |
.gif) .gif) .gif) | GetExceptionForHR | Overloaded. Converts an HRESULT error code to a corresponding Exception object. |
.gif) .gif) | GetExceptionPointers | Retrieves a computer-independent description of an exception, and information about the state that existed for the thread when the exception occurred. |
.gif) .gif) .gif) | GetFunctionPointerForDelegate | Converts a delegate into a function pointer callable from unmanaged code. |
.gif) .gif) | GetHINSTANCE | Returns the instance handle (HINSTANCE) for the specified module. |
.gif) .gif) .gif) | GetHRForException | Converts the specified exception to an HRESULT. |
.gif) .gif) | GetHRForLastWin32Error | Returns the HRESULT corresponding to the last error incurred by Win32 code executed using Marshal. |
.gif) .gif) .gif) | GetIDispatchForObject | Returns an IDispatch interface from a managed object. |
.gif) .gif) | GetIDispatchForObjectInContext | Returns an IDispatch interface pointer from a managed object, if the caller is in the same context as that object. |
.gif) .gif) | GetITypeInfoForType | Returns an ITypeInfo interface from a managed type. |
.gif) .gif) .gif) | GetIUnknownForObject | Returns an IUnknown interface from a managed object. |
.gif) .gif) | GetIUnknownForObjectInContext | Returns an IUnknown interface from a managed object, if the caller is in the same context as that object. |
.gif) .gif) .gif) .gif) | GetLastWin32Error | Returns the error code returned by the last unmanaged function called using platform invoke that has the DllImportAttribute..::.SetLastError flag set. |
.gif) .gif) | GetManagedThunkForUnmanagedMethodPtr | Obsolete. Gets a pointer to a thunk that marshals a call from managed to unmanaged code. |
.gif) .gif) | GetMethodInfoForComSlot | Retrieves MethodInfo for the specified virtual function table (VTBL) slot. |
.gif) .gif) .gif) | GetNativeVariantForObject | Converts an object to a COM VARIANT. |
.gif) .gif) .gif) | GetObjectForIUnknown | Returns an instance of a type that represents a COM object by a pointer to its IUnknown interface. |
.gif) .gif) .gif) | GetObjectForNativeVariant | Converts a COM VARIANT to an object. |
.gif) .gif) | GetObjectsForNativeVariants | Converts an array of COM VARIANTs to an array of objects. |
.gif) .gif) | GetStartComSlot | Gets the first slot in the virtual function table (VTBL) that contains user defined methods. |
.gif) .gif) | GetThreadFromFiberCookie | Obsolete. Converts a fiber cookie into the corresponding System.Threading..::.Thread instance. |
.gif) .gif) .gif) | GetTypedObjectForIUnknown | Returns a managed object of a specified type that represents a COM object. |
.gif) .gif) | GetTypeForITypeInfo | Converts an ITypeInfo into a managed Type object. |
.gif) .gif) | GetTypeInfoName | Overloaded. Retrieves the name of the type represented by an ITypeInfo. |
.gif) .gif) | GetTypeLibGuid | Overloaded. Retrieves the library identifier (LIBID) of a type library. |
.gif) .gif) | GetTypeLibGuidForAssembly | Retrieves the library identifier (LIBID) that is assigned to a type library when it was exported from the specified assembly. |
.gif) .gif) | GetTypeLibLcid | Overloaded. Retrieves the LCID of a type library. |
.gif) .gif) | GetTypeLibName | Overloaded. Retrieves the name of a type library. |
.gif) .gif) | GetTypeLibVersionForAssembly | Retrieves the version number of a type library that will be exported from the specified assembly. |
.gif) .gif) | GetUniqueObjectForIUnknown | Creates a unique runtime callable wrapper (RCW) object for a given IUnknown. |
.gif) .gif) | GetUnmanagedThunkForManagedMethodPtr | Obsolete. Gets a pointer to a thunk that marshals a call from unmanaged to managed code. |
.gif) .gif) .gif) | IsComObject | Indicates whether a specified object represents a COM object. |
.gif) .gif) .gif) | IsTypeVisibleFromCom | Indicates whether a type is visible to COM clients. |
.gif) .gif) | NumParamBytes | Calculates the number of bytes in unmanaged memory that are required to hold the parameters for the specified method. |
.gif) .gif) | OffsetOf | Returns the field offset of the unmanaged form of the managed class. |
.gif) .gif) .gif) .gif) | Prelink | Executes one-time method setup tasks without calling the method. |
.gif) .gif) .gif) .gif) | PrelinkAll | Performs a pre-link check for all methods on a class. |
.gif) .gif) | PtrToStringAnsi | Overloaded. Allocates a managed String and copies all or part of an unmanaged ANSI string into it. |
.gif) .gif) | PtrToStringAuto | Overloaded. Allocates a managed String and copies a specified number of characters from an unmanaged string into it. |
.gif) .gif) .gif) | PtrToStringBSTR | Allocates a managed String and copies a BSTR string stored in unmanaged memory into it. |
.gif) .gif) .gif) .gif) | PtrToStringUni | Overloaded. Allocates a managed String and copies a specified number of characters from an unmanaged Unicode string into it. |
.gif) .gif) .gif) .gif) | PtrToStructure | Overloaded. Marshals data from an unmanaged block of memory to a managed object. |
.gif) .gif) .gif) | QueryInterface | Requests a pointer to a specified interface from a COM object. |
.gif) .gif) .gif) .gif) | ReadByte | Overloaded. Reads a single byte from an unmanaged pointer. Reading from unaligned memory locations is supported. |
.gif) .gif) .gif) .gif) | ReadInt16 | Overloaded. Reads a 16-bit signed integer from unmanaged memory. Reading from unaligned memory locations is supported. |
.gif) .gif) .gif) .gif) | ReadInt32 | Overloaded. Reads a 32-bit signed integer from unmanaged memory. Reading from unaligned memory locations is supported. |
.gif) .gif) .gif) .gif) | ReadInt64 | Overloaded. Reads a 64-bit signed integer from unmanaged memory. Reading from unaligned memory locations is supported. |
.gif) .gif) .gif) .gif) | ReadIntPtr | Overloaded. Reads a processor native sized integer from unmanaged memory. Reading from unaligned memory locations is supported. |
.gif) .gif) .gif) | ReAllocCoTaskMem | Resizes a block of memory previously allocated with AllocCoTaskMem. |
.gif) .gif) .gif) | ReAllocHGlobal | Resizes a block of memory previously allocated with AllocHGlobal. |
.gif) .gif) .gif) | Release | Decrements the reference count on the specified interface. |
.gif) .gif) .gif) | ReleaseComObject | Decrements the reference count of the supplied runtime callable wrapper. |
.gif) .gif) | ReleaseThreadCache | Obsolete. Releases the thread cache. |
.gif) .gif) | SecureStringToBSTR | Allocates a BSTR and copies the contents of a managed SecureString object into it. |
.gif) .gif) | SecureStringToCoTaskMemAnsi | Copies the contents of a managed SecureString object to a block of memory allocated from the unmanaged COM task allocator. |
.gif) .gif) | SecureStringToCoTaskMemUnicode | Copies the contents of a managed SecureString object to a block of memory allocated from the unmanaged COM task allocator. |
.gif) .gif) | SecureStringToGlobalAllocAnsi | Copies the contents of a managed SecureString into unmanaged memory, converting into ANSI format as it copies. |
.gif) .gif) | SecureStringToGlobalAllocUnicode | Copies the contents of a managed SecureString into unmanaged memory. |
.gif) .gif) | SetComObjectData | Sets data referenced by the specified key in the specified COM object. |
.gif) .gif) .gif) .gif) | SizeOf | Overloaded. Returns the unmanaged size, in bytes, of a class using Marshal. |
.gif) .gif) .gif) | StringToBSTR | Allocates a BSTR and copies the contents of a managed String into it. |
.gif) .gif) | StringToCoTaskMemAnsi | Copies the contents of a managed String to a block of memory allocated from the unmanaged COM task allocator. |
.gif) .gif) | StringToCoTaskMemAuto | Copies the contents of a managed String to a block of memory allocated from the unmanaged COM task allocator. |
.gif) .gif) | StringToCoTaskMemUni | Copies the contents of a managed String to a block of memory allocated from the unmanaged COM task allocator. |
.gif) .gif) | StringToHGlobalAnsi | Copies the contents of a managed String into unmanaged memory, converting into ANSI format as it copies. |
.gif) .gif) | StringToHGlobalAuto | Copies the contents of a managed String into unmanaged memory, converting into ANSI format if required. |
.gif) .gif) | StringToHGlobalUni | Copies the contents of a managed String into unmanaged memory. |
.gif) .gif) .gif) .gif) | StructureToPtr | Marshals data from a managed object to an unmanaged block of memory. |
.gif) .gif) .gif) | ThrowExceptionForHR | Overloaded. Throws an exception with a specific failure HRESULT value. |
.gif) .gif) | UnsafeAddrOfPinnedArrayElement | Gets the address of the element at the specified index inside the specified array. |
.gif) .gif) .gif) .gif) | WriteByte | Overloaded. Writes a single byte value to unmanaged memory. |
.gif) .gif) .gif) .gif) | WriteInt16 | Overloaded. Writes a 16-bit signed integer value to unmanaged memory. Writing to unaligned memory locations is supported. |
.gif) .gif) .gif) .gif) | WriteInt32 | Overloaded. Writes a 32-bit signed integer value to unmanaged memory. Writing to unaligned memory locations is supported. |
.gif) .gif) .gif) .gif) | WriteInt64 | Overloaded. Writes a 64-bit signed integer value to unmanaged memory. Writing to unaligned memory locations is supported. |
.gif) .gif) .gif) .gif) | WriteIntPtr | Overloaded. Writes a processor native sized integer value to unmanaged memory. Writing to unaligned memory locations is supported. |
.gif) .gif) | ZeroFreeBSTR | Frees a BSTR pointer that was allocated using the SecureStringToBSTR method. |
.gif) .gif) | ZeroFreeCoTaskMemAnsi | Frees an unmanaged string pointer that was allocated using the SecureStringToCoTaskMemAnsi method. |
.gif) .gif) | ZeroFreeCoTaskMemUnicode | Frees an unmanaged string pointer that was allocated using the SecureStringToCoTaskMemUnicode method. |
.gif) .gif) | ZeroFreeGlobalAllocAnsi | Frees an unmanaged string pointer that was allocated using the SecureStringToGlobalAllocAnsi method. |
.gif) .gif) | ZeroFreeGlobalAllocUnicode | Frees an unmanaged string pointer that was allocated using the SecureStringToCoTaskMemUnicode method. |