Extern, how to import a function and rename it ?

BlitzMax Forums/BlitzMax Programming/Extern, how to import a function and rename it ?

Ah you use some of the predefined things.

I'm sorry in that case I think it is predefined in the Win32 compiler directive, so you can just do

Function RegisterClassExA(pcWndClassEx:Byte Ptr)

The '= "..."' is not needed in this case.
I don't know if you can rename it somehow ...

Problem is there is no description on the 'extern "OS directive"' stuff in the help, so only mark might give you a answer.