Restored from previous forum. Originally posted by stede.
If I have a win32 function that requires a RECT structure as a parameter do I have to create it manually or is there a way to use it like sticking an underscore after the name of a win32 function?
Thanks,
Stede
Using Win32 structures with functions?
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by stede.
Never mind, I figured it out on my own... you just create a variable normally but instead of using .l, .b, etc.. you use the name of the structure. Very cool.
Thanks everyone,
Stede
Never mind, I figured it out on my own... you just create a variable normally but instead of using .l, .b, etc.. you use the name of the structure. Very cool.
Thanks everyone,
Stede
If I have a win32 function that requires a RECT structure as a parameter do I have to create it manually or is there a way to use it like sticking an underscore after the name of a win32 function?
Thanks,
Stede