openVG - dependency

Hi…
I want to use same OpenVG code into both linux and windows.

So instead of Win32 functions I am using glut.

Does glut have the power of replacing all the work done by Win32…

If so,in my window surface creation (in EGL initialisation)
the eglCreateWindowSurface function expects native window as a parameter

What should I pass into this function…

In glut , glutcreatewindow method returns only an identifier of the window which is an integer.

How can I bridge between the GLUT and the EGL initialisation