Using Win32 structures with functions?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

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
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

Post Reply