SetFileTypeIndex method

int SetFileTypeIndex(
  1. int iFileType
)

Implementation

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