Summary
Gets the "module extension interface" of the specified type, if it exists.
Syntax
public static bool TryGetModuleExtInterface<T>(IntPtr modExtPtr, out T modExtInterface)
where T : struct, IModuleExtInterface
Type Parameters
| Name |
Description |
| T |
The type of module extension interface. |
Parameters
| Name |
Type |
Description |
| modExtPtr |
IntPtr |
The module extension handle to work on. Obtained with TryCreateModuleExtFromMemory(byte[], IntPtr). |
| modExtInterface |
T |
The output argument that will contain the extension interface or null. |
Return Value
| Type |
Description |
| bool |
Returns true if the interface is found, false otherwise. |