Read data from DVD/CD Drive of System in XOJO

Can anyone help to tell the procedure for reading data from Cd/DVD inserted in CD/DVD Drive of a system in XOJO. Then Kindly tell me the process.

It is seen as any other disk. See

You may use code similar to the first example to periodically poll the mounted volumes in order to detect when the disk is mounted.
There are probably declares, but you do not say if it is for Windows or Mac, or cross platform.