Mildred a shark
Professional

Once you have created a c2pWindow object using Mc2pWindow, you may wish to find the address of its c2pWindow structure. You should simply specify the number of the object to be referenced, which should be in the range of 0 to the total number of objects minus 1, and the function will return the address in memory at which you can find the structure of the specified c2pWindow object.

Possible syntax:
MAddrc2pWindow ( c2pWindowNum.w )


Returns: Address.l


c2pWindowNum.w
---- This is the number of the c2pWindow that you wish to know the address of. The number should be in the valid range from 0 to the total number of objects minus 1. The function will return the address in memory at which this object's c2pWindow structure is stored.


Address.l ---- MAddrc2pWindow returns the address as a longword, which is the address in memory at which the c2pWindow object's structure/information is stored.

a shark