I'd suggest you take an example from the archives that contains some decls, eg. this:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1661
The decls files must be copied to the userlibs folder. Parameters may be variables (%,$..) or pointers(*), where a blitz bank handle can be used for Pointers (in the call within blitz). If your declaration is not the same as the original function name then you have to declare it this way:
RtlMoveMemory2%(Destination*,Source,Length) : "RtlMoveMemory"
So at the end of the line is the original funtion name. THis way you can use one function with various parameter settings.
Microsoft offer several developer infos for every system function, just use a seach engine.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1661
The decls files must be copied to the userlibs folder. Parameters may be variables (%,$..) or pointers(*), where a blitz bank handle can be used for Pointers (in the call within blitz). If your declaration is not the same as the original function name then you have to declare it this way:
RtlMoveMemory2%(Destination*,Source,Length) : "RtlMoveMemory"
So at the end of the line is the original funtion name. THis way you can use one function with various parameter settings.
Microsoft offer several developer infos for every system function, just use a seach engine.