Set 3D InfoFrame

I would like to be able to set the HDMI InfoFrame to tell the display to switch to a specific 3D mode, say 3D SBS for instance.
Is that doable using NVAPI?
I found this NvAPI_Disp_InfoFrameControl function for instance.
Do we have code sample for such scenario?