Language question

BlitzMax Forums/BlitzMax Programming/Language question

Hi,

I'm writing a source-parser, so I need to understand the following language-syntax:

Global Direct3DCreate9:IDirect3D9(SDKVersion )"win32"=GetProcAddress( d3d9Lib,"Direct3DCreate9" )


What I don't understand is the "win32" after the typecast. What is it for? I never saw this before...

Thanks in advance

Jake

Maybe it does something platform specific based on what platform you compile on?

It's to tell it to use 'stdcall' calling convention instead of the normal 'cdecl' method if I recall correctly.