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.
WINSHELLAPI void WINAPI SHChangeNotify(
LONG wEventId, | |
UINT uFlags, | |
LPCVOID dwItem1, | |
LPCVOID dwItem2 | |
); |
SHCNE_ASSOCCHANGED |
Changed a file type association. |
SHCNE_ATTRIBUTES |
Changed a file’s attributes. |
SHCNE_CREATE |
Created a file. |
SHCNE_DELETE |
Deleted a file. |
SHCNE_DRIVEADD |
Added a network drive. |
SHCNE_DRIVEADDGUI |
Added a network drive by way of a graphic user interface. |
SHCNE_DRIVEREMOVED |
Removed a network drive. |
SHCNE_INTERRUPT |
Performed the event as a result of a system interrupt. |
SHCNE_MEDIAINSERTED |
Added removable media, such as a CD-ROM. |
SHCNE_MEDIAREMOVED |
Removed a removable medium, such as a CD-ROM. |
SHCNE_MKDIR |
Created a new directory. |
SHCNE_NETSHARE |
Shared a resource on the network. |
SHCNE_NETUNSHARE |
Stopped sharing a resource. |
SHCNE_RENAMEFOLDER |
Renamed a folder. |
SHCNE_RENAMEITEM |
Renamed an item in a folder. |
SHCNE_RMDIR |
Removed a directory. |
SHCNE_SERVERDISCONNECT |
Disconnected a network server. |
SHCNE_UPDATEDIR |
Updated the contents of a directory. |
SHCNE_UPDATEIMAGE |
Changed an image in the system global image list. |
SHCNE_UPDATEITEM |
Changed the properties of a printer or file. |
SHCNF_DWORD |
The dwItem1 and dwItem2 parameters are doubleword values. |
SHCNF_FLUSH |
Flushes the system event buffer. The function does not return until the system is finished processing the given event. |
SHCNF_FLUSHNOWAIT |
Flushes the system event buffer. The function returns immediately regardless of whether the system is finished processing the given event. |
SHCNF_IDLIST |
dwItem1 and dwItem2 are the addresses of item identifier lists. |
SHCNF_PATH |
dwItem1 and dwItem2 are path names. |
SHCNF_PRINTER |
dwItem1 and dwItem2 are printer “friendly” names. |
No return value.
file: /Techref/os/win/api/win32/func/src/f84_13.htm, 7KB, , updated: 2001/6/23 20:15, local time: 2024/12/2 00:24,
3.149.239.79:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/os/win/api/win32/func/src/f84_13.htm"> SHChangeNotify</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.