getFieldMarshal method

int getFieldMarshal(
  1. int tk,
  2. Pointer<Pointer<Uint8>> ppvNativeType,
  3. Pointer<Uint32> pcbNativeType
)

Implementation

int getFieldMarshal(
  int tk,
  Pointer<Pointer<Uint8>> ppvNativeType,
  Pointer<Uint32> pcbNativeType,
) => (ptr.ref.vtable + 38)
    .cast<
      Pointer<
        NativeFunction<
          Int32 Function(
            Pointer,
            Uint32 tk,
            Pointer<Pointer<Uint8>> ppvNativeType,
            Pointer<Uint32> pcbNativeType,
          )
        >
      >
    >()
    .value
    .asFunction<
      int Function(
        Pointer,
        int tk,
        Pointer<Pointer<Uint8>> ppvNativeType,
        Pointer<Uint32> pcbNativeType,
      )
    >()(ptr.ref.lpVtbl, tk, ppvNativeType, pcbNativeType);