The %shmat() function attaches a shared memory segment associated with the shared memory identifier shmid and returns the address of the segment.
For Windows: Not Supported
pointer = (char*)%shmat(shmid, (char*)shmaddr, shmflg)
Valid values for shmflg are defined in shm.h and ipc.h. See the UNIX system documentation.