enumObjects method

int enumObjects(
  1. int hwnd,
  2. int grfFlags,
  3. Pointer<Pointer<COMObject>> ppenumIDList
)

Implementation

int enumObjects(
  int hwnd,
  int grfFlags,
  Pointer<Pointer<COMObject>> ppenumIDList,
) => (ptr.ref.vtable + 4)
    .cast<
      Pointer<
        NativeFunction<
          Int32 Function(
            Pointer,
            IntPtr hwnd,
            Uint32 grfFlags,
            Pointer<Pointer<COMObject>> ppenumIDList,
          )
        >
      >
    >()
    .value
    .asFunction<
      int Function(
        Pointer,
        int hwnd,
        int grfFlags,
        Pointer<Pointer<COMObject>> ppenumIDList,
      )
    >()(ptr.ref.lpVtbl, hwnd, grfFlags, ppenumIDList);