Locks the shared memory associated with a Shell change notification event.
HANDLE SHChangeNotification_Lock( HANDLE hChange, DWORD dwProcId, PIDLIST_ABSOLUTE **pppidl, LONG *plEvent );
A handle to a window received as a wParam in the specified Shell change notification message.
The process ID (lParam in the message callback).
The address of a pointer to a PIDLIST_ABSOLUTE that, when this function returns successfully, receives the list of affected PIDLs.
A pointer to a LONG value that, when this function returns successfully, receives the Shell change notification ID of the event that took place.
Returns a handle (HLOCK) to the locked memory. Pass this value to SHChangeNotification_Unlock when finished.
|Windows version||Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]|
|Header||shlobj_core.h (include Shlobj.h)|
|DLL||Shell32.dll (version 6.0 or later)|