Need help with glGetFloatv(GL_POINT_SIZE_GRANULARITY, stepf)

I’m trying to use glGetFloatv in visual basic 6 and it does not seem to work
does any one know how to make it work as well as declaring the function like

Public Declare Function or Sub glGetFloatv _
Lib “opengl32.dll” ( _
ByVal pname As ******, _
ByVal params As ******) _
As ****** ’
any help is needed thanx