folderIdFromCsidl method

int folderIdFromCsidl(
  1. int nCsidl,
  2. Pointer<GUID> pfid
)

Implementation

int folderIdFromCsidl(int nCsidl, Pointer<GUID> pfid) => (ptr.ref.vtable + 3)
    .cast<
        Pointer<
            NativeFunction<
                Int32 Function(Pointer, Int32 nCsidl, Pointer<GUID> pfid)>>>()
    .value
    .asFunction<
        int Function(Pointer, int nCsidl,
            Pointer<GUID> pfid)>()(ptr.ref.lpVtbl, nCsidl, pfid);