# Win SDK - Custom UI: PinVideo always returns SDKERR\_INVALID\_PARAMETER

**URL:** <https://devforum.zoom.us/t/win-sdk-custom-ui-pinvideo-always-returns-sdkerr-invalid-parameter/19605>\
**Category:** Meeting SDK\
**Created:** [May 29, 2020, 11:23pm UTC](https://devforum.zoom.us/t/win-sdk-custom-ui-pinvideo-always-returns-sdkerr-invalid-parameter/19605 "2020-05-29T23:23:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [May 29, 2020, 11:23pm UTC](https://devforum.zoom.us/t/win-sdk-custom-ui-pinvideo-always-returns-sdkerr-invalid-parameter/19605/1 "2020-05-29T23:23:29Z")

</div>

Hi,  
I need to pin video on a user and I am using video controller’s PinVideo() but I always get SDKERR\_INVALID\_PARAMETER response. I am using custom UI. Does this mean that custom UI’s active vide does not support pinning or there is another cause?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 2, 2020, 5:36am UTC](https://devforum.zoom.us/t/win-sdk-custom-ui-pinvideo-always-returns-sdkerr-invalid-parameter/19605/2 "2020-06-02T05:36:24Z")

</div>

Hi @bragma,

The pinVideo() interface only works for Zoom default UI. In Custom UI, since the developers have full control of the meeting UI, so handling which video to show, and where to present the user’s video(and how to deal with it) is a part of the Custom UI development.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:48pm UTC](https://devforum.zoom.us/t/win-sdk-custom-ui-pinvideo-always-returns-sdkerr-invalid-parameter/19605/3 "2020-08-21T21:48:11Z")

</div>

Closed on August 21, 2020, 9:48pm UTC


