hi, i have a question about structure compatibility in vb.net

in API calls that expect structures, can you use the Rectangle class as a RECT struct, the Size class as a SIZE struct, the Guid class as a GUID struct, etc.? thanks in advance for any help!