The NM_OUTOFMEMORY notification message notifies the parent window of a control that the control could not complete an operation because there was not enough memory available. NM_OUTOFMEMORY is sent in the form of a WM_NOTIFY message.
NM_OUTOFMEMORY
pnmh = (NMHDR FAR *) lParam;