>From programming viewpoint can I do my work with spesific API Functions that communicate with the USB mass storage devices?
Yes, if the USB device you're communicating with is a mass-storage-class device.
>What is defference between communicatin with the USB device that we learn about that in chapter 10 of USB complete book and communicate with USB mass storage devices that is a subclass of the USB devices?
Chapter 10 is about detecting devices. Host applications use class-specific APIs, .NET classes, etc. to perform communications that carry out the device's function (detect keypresses, read files, etc.)
>have you any sample code or API Functions to help me in this content?
What you need depends on the device class. Lvr.com has example code for HIDs, devices that use the WinUSB driver, and USB virtual serial-port devices.
>1)who can I get the Guid for USB Ports dynamically?(the "HidD_GetHidGuid()" not working and some of the API Functions returns false value)
See
http://msdn.microsoft.com/en-us/library/ff552240.aspx>2)what's your mind about the DevicePathName that I have?Is it a true DevicePathName for USB Ports?If it is not,where is the problem?
see above
>3)What can I do with CreateFile()
What you can do with CreateFile varies with the driver assigned to the device attached to the port.