-
Notifications
You must be signed in to change notification settings - Fork 0
清理回调函数定义参考
Mouri_Naruto edited this page Jul 27, 2016
·
4 revisions
本文提供对Dism++清理回调函数定义的说明;你可以通过在插件中调用回调函数与Dism++通信以实现某些功能
typedef DWORD(WINAPI *DismCallBack)(
DWORD dwMessageId,
WPARAM wParam,
LPARAM lParam,
PVOID UserData);
wParam = 当前完成百分比
lParam = 0
wParam = (PWSTR) pszFullPath
lParam = (PBOOL) pfProcessFile
wParam = (DWORD)Type
lParam = (LPCWSTR) 需要删除的文件路径
Dism++收到此消息后,会将文件路径展示在详细信息中。
wParam = (BOOL)IsDirector
lParam = (UINT)Count
wParam = 0
lParam = 0
返回-1 则中断当前操作,返回S_OK那么函数正常进行