VB中怎样实现点击一个按钮 弹出光驱 和 清空 回收站?
来源:百度知道 编辑:UC知道 时间:2024/05/21 20:52:33
RT
SHEmptyRecycleBin函数可以清空回收站
API函数声明中:Cddoor可控制光驱弹开和关闭:
private declare function CDdoor lib "winmm.dll" alias "mcisendstringA"
(by val lpstrcommand as string, by val lpstrreturnstring as string, by val urturnlenthas long, by val hwndcallback as long) as long
有必要吗?