Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const ( FSCTL_LOCK_VOLUME = uint32(0x90018) FSCTL_DISMOUNT_VOLUME = uint32(0x90020) IOCTL_STORAGE_MEDIA_REMOVAL = uint32(0x2d4804) IOCTL_STORAGE_EJECT_MEDIA = uint32(0x2d4808) )
Variables ¶
This section is empty.
Functions ¶
func EjectVolume ¶
EjectVolume Eject the tray of the drive with timeout
func GetDriveType ¶
func GetTickCount ¶
func GetTickCount() (tick uint32)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.