# Why I call the GetMeetingUIWnd interface and return the values firstViewHandle and secondViewHandle always null

**URL:** <https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285>\
**Category:** Windows\
**Created:** [July 16, 2020, 9:30am UTC](https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285 "2020-07-16T09:30:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arrayxs](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@arrayxs](https://devforum.zoom.us/u/arrayxs)\
**Post date:** [July 16, 2020, 9:30am UTC](https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285/1 "2020-07-16T09:30:29Z")

</div>

I’m using zoom\_sdk\_c\_sharp\_wrap(v5.0.24433.0616), and the code snippets:

```
switch (status)
        {
            case MeetingStatus.MEETING_STATUS_ENDED:
            case MeetingStatus.MEETING_STATUS_FAILED:
                {
                    Show();
                }
                break;
            case MeetingStatus.MEETING_STATUS_INMEETING:
                IMeetingUIControllerDotNetWrap meetingUI = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetUIController();
                ValueType firstViewHandle = null;
                ValueType secondViewHandle = null;
                SDKError resultSDKError= meetingUI.GetMeetingUIWnd(ref firstViewHandle, ref secondViewHandle);

                break;
            default://todo
                break;
        }

```

resultSDKError is success ,but firstViewHandle ,secondViewHandle always null~ why ?

---

<div class="post-metadata">

**Author:** ![arrayxs](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@arrayxs](https://devforum.zoom.us/u/arrayxs)\
**Post date:** [July 16, 2020, 9:36am UTC](https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285/2 "2020-07-16T09:36:10Z")

</div>

Similar to this problem, have you solved it？

> [@how can I use public SDKError GetMeetingUIWnd(ValueType hFirstView, ValueType hSecondView) to get the window handle of Meeting UI?](https://devforum.zoom.us/t/how-can-i-use-public-sdkerror-getmeetinguiwnd-valuetype-hfirstview-valuetype-hsecondview-to-get-the-window-handle-of-meeting-ui/486):
>
> what arguemtns should I pass to the&nbsp;public SDKError&nbsp; GetMeetingUIWnd(ValueType hFirstView, ValueType hSecondView)&nbsp; and what’s the returned result?

---

<div class="post-metadata">

**Author:** ![ekaram](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaram/32/23369_2.png) [@ekaram](https://devforum.zoom.us/u/ekaram)\
**Post date:** [March 5, 2021, 3:40pm UTC](https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285/3 "2021-03-05T15:40:05Z")

</div>

Same here. Did anyone figure this out

Please note I have tried this with the following version of the C# wrapper  
v5.4.54802.0124

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 5, 2021, 11:26pm UTC](https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285/4 "2021-03-05T23:26:41Z")

</div>

Hey @arrayxs & @ekaram,

Thanks for using the dev forum!

This was a bug in the C# Wrapper and shouldve been fixed in the most recent release. Can you update and see if you are still having issues?

Edit: Ah I see @ekaram is on the latest version. Let me ask the team about this one.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![ekaram](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaram/32/23369_2.png) [@ekaram](https://devforum.zoom.us/u/ekaram)\
**Post date:** [March 8, 2021, 3:17am UTC](https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285/5 "2021-03-08T03:17:36Z")

</div>

Thanks, Michael!! Please let me know what happens or what to do

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 8, 2021, 9:51pm UTC](https://devforum.zoom.us/t/why-i-call-the-getmeetinguiwnd-interface-and-return-the-values-firstviewhandle-and-secondviewhandle-always-null/24285/6 "2021-03-08T21:51:24Z")

</div>

Hey @ekaram

Will do!

Thanks
