getFileTypeIndex method

int getFileTypeIndex(
  1. Pointer<Uint32> piFileType
)

Implementation

int getFileTypeIndex(Pointer<Uint32> piFileType) => (ptr.ref.vtable + 6)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Uint32> piFileType)>>>()
        .value
        .asFunction<int Function(Pointer, Pointer<Uint32> piFileType)>()(
    ptr.ref.lpVtbl, piFileType);