Documentation
¶
Overview ¶
shell32.dll
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DragQueryFileW ¶
检索由成功的拖放操作产生的文件路径, 返回文件路径的字符数.
hDrop: 句柄.
iFile: 文件索引.
lpszFile: 返回的文件路径.
cch: 接收的文件路径的字符数, 通常为260.
func ShellExecuteW ¶
func ShellExecuteW(hwnd int, lpOperation, lpFile, lpParameters, lpDirectory string, nShowCmd xcc.SW_) int
对指定文件执行操作. 如果函数成功,则返回大于 32 的值。如果函数失败,则返回指示失败原因的错误值.
hwnd: 用于显示 UI 或错误消息的父窗口的句柄。如果操作与窗口无关,则此值可以为0.
lpOperation: 填“open”则打开lpFlie文档. 其它操作详见: https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellexecutew.
lpFile: 想用关联的程序打印或打开的一个程序名或文件名.
lpParameters: 如果lpFile是一个可执行文件,则这个字串包含了传递给执行程序的参数.
lpDirectory: 想使用的默认路径完整路径.
nShowCmd: 定义了如何显示启动程序的常数值, SW_.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.