module win32.winioctl :IOCTL_STORAGE_EJECT_MEDIA' Value is Error

FrankLike via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 29 04:00:06 PST 2014


Now,I use the win32.winioctl.d file,find 
:IOCTL_STORAGE_EJECT_MEDIA ' Value is 0x0202,if you use it ,will 
get the error value 50.(by GetLastError()).

It should be 0x2d4808.If you use it ,it works ok.

Why have this kind of mistake?

Frank


More information about the Digitalmars-d mailing list