setDisplayName method

int setDisplayName(
  1. Pointer<Utf16> Value,
  2. Pointer<GUID> EventContext
)

Implementation

int setDisplayName(Pointer<Utf16> Value, Pointer<GUID> EventContext) => ptr
        .ref.vtable
        .elementAt(5)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Utf16> Value,
                        Pointer<GUID> EventContext)>>>()
        .value
        .asFunction<
            int Function(
                Pointer, Pointer<Utf16> Value, Pointer<GUID> EventContext)>()(
    ptr.ref.lpVtbl, Value, EventContext);