setFileTypeIndex method

int setFileTypeIndex(
  1. int iFileType
)

Implementation

int setFileTypeIndex(int iFileType) => (ptr.ref.vtable + 5)
    .cast<
        Pointer<NativeFunction<Int32 Function(Pointer, Uint32 iFileType)>>>()
    .value
    .asFunction<
        int Function(Pointer, int iFileType)>()(ptr.ref.lpVtbl, iFileType);