A quick look at a GUI example in the examples folder of Oxygen, you simply use the @ character in front of the procedure or function name.
For example a window procedure called WinProc would use @WinProc for a pointer.
In PB: CODEPTR(WinProc)
In O2: @WinProc
In the ezwmain50.inc file of EZGUI you would change the three code pointer parameters for the EZ_GuiRun call from:
... CODEPTR(EZ_Main), CODEPTR(EZ_Events), CODEPTR(EZ_DesignWindow) ...
... @EZ_Main, @EZ_Events, @EZ_DesignWindow ...
There are other parameters in the EZ_GuiRun call and some may need to be modified to match O2 syntax, but the above solves the code pointer ones.
Does O2 have a MACRO command ?
One could write a Macro for any conversions from PB to O2.