- Автор темы
- Добавить закладку
- #21
А вот непонял
.text:008B7308 push ebp
.text:008B7309 mov ebp, esp
.text:008B730B add esp, 0FFFFFFFCh
.text:008B730E push ebx
.text:008B730F call WaitDesktopVisible_WS_VISIBLE_style
.text:008B7314 push 1
.text:008B7316 call SetWallpaper
.text:008B731B push 0 ; refresh desktop
.text:008B731D push 0
.text:008B731F push 1000h ; SHCNF_FLUSH ? why not SHCNF_IDLIST
.text:008B731F ; The function should not return until the notification has been delivered to all affected components. As this flag modifies other data-type flags, it cannot by used by itself.
.text:008B7324 push 8000000h ; SHCNE_ASSOCCHANGED
.text:008B7324 ; A file type association has changed. SHCNF_IDLIST must be specified in the uFlags parameter. dwItem1 and dwItem2 are not used and must be NULL.
.text:008B7329 call SHChangeNotify ; Notifies the system of an event that an application has performed. An application should use this function if it performs an action that may affect the Shell.
Это ошибка или какая то хитрость?
Вроде это для того что бы десктоп обновить, по доку должно быть SHCNF_IDLIST. Пробовал гуглить пример с SHCNF_FLUSH, но че то не нашел ничего внятного.
.text:008B7308 push ebp
.text:008B7309 mov ebp, esp
.text:008B730B add esp, 0FFFFFFFCh
.text:008B730E push ebx
.text:008B730F call WaitDesktopVisible_WS_VISIBLE_style
.text:008B7314 push 1
.text:008B7316 call SetWallpaper
.text:008B731B push 0 ; refresh desktop
.text:008B731D push 0
.text:008B731F push 1000h ; SHCNF_FLUSH ? why not SHCNF_IDLIST
.text:008B731F ; The function should not return until the notification has been delivered to all affected components. As this flag modifies other data-type flags, it cannot by used by itself.
.text:008B7324 push 8000000h ; SHCNE_ASSOCCHANGED
.text:008B7324 ; A file type association has changed. SHCNF_IDLIST must be specified in the uFlags parameter. dwItem1 and dwItem2 are not used and must be NULL.
.text:008B7329 call SHChangeNotify ; Notifies the system of an event that an application has performed. An application should use this function if it performs an action that may affect the Shell.
Это ошибка или какая то хитрость?
Вроде это для того что бы десктоп обновить, по доку должно быть SHCNF_IDLIST. Пробовал гуглить пример с SHCNF_FLUSH, но че то не нашел ничего внятного.
Последнее редактирование: