C++ newb needs a push in the right direction

Hi, I’m interested in getting the method getviewfrustumbounds working. In the documentation there’s example code and everything but I just don’t know what to do with it. Im fine with compiling code/plugins and stuff but just can’t get my head around how this stuff goes together and functions.

The function should - I hope - let me set an asymmetric camera projection for VR use on a screen rather than in a hmd. I want to define a plane/flat volume which acts as a window with the corners of the volume always ‘pinned’ to the corners of a monitor. Then when you track the players head position the view will change as the player moves about in front of the screen - it should look like the screen really is a window.

Anyway - any help with the c++ would be much appreciated