SetOutput method

int SetOutput(
  1. Pointer<COMObject> pUnkOutput,
  2. int fAllowFormatChanges
)

Implementation

int SetOutput(Pointer<COMObject> pUnkOutput, int fAllowFormatChanges) =>
    ptr.ref.vtable
            .elementAt(13)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Pointer<COMObject> pUnkOutput,
                            Int32 fAllowFormatChanges)>>>()
            .value
            .asFunction<
                int Function(Pointer, Pointer<COMObject> pUnkOutput,
                    int fAllowFormatChanges)>()(
        ptr.ref.lpVtbl, pUnkOutput, fAllowFormatChanges);