to know the mean of DesiredAccess values go there
http://www.osronline.com/ddkx/kmarch/k111_9dte.htm[
^]
share access:is means what to shared between threads on the program
FILE_SHARE_READ : all threads can read this file
FILE_SHARE_WRITE : all threads can write on this file
FILE_SHARE_DELETE : all threads can delete this file