getFolderType method

int getFolderType(
  1. Pointer<GUID> pftid
)

Implementation

int getFolderType(Pointer<GUID> pftid) => ptr.ref.vtable
    .elementAt(9)
    .cast<
        Pointer<
            NativeFunction<Int32 Function(Pointer, Pointer<GUID> pftid)>>>()
    .value
    .asFunction<
        int Function(Pointer, Pointer<GUID> pftid)>()(ptr.ref.lpVtbl, pftid);