用keybd_event截图,参数如何定义

用keybd_event截图,参数如何定义

Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

Call keybd_event(vbKeySnapshot, 0, 0, 0) '全屏
Call keybd_event(vbKeySnapshot, 1, 0, 0) '当前窗体

你可能感兴趣的:(用keybd_event截图,参数如何定义)