GetFileTypeIndex method

int GetFileTypeIndex(
  1. Pointer<Uint32> piFileType
)

Implementation

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