NDI_SYSTEMCHANGE uTypeOfChange = (UINT)wParam; // type of change made.
The NDI_SYSTEMCHANGE message is sent whenever an object was added or removed from the system. The NDI procedure should validate its settings and bindings.
uTypeOfChange
Indicates the type of change that has occurred. It must be one of the following values:
NDISYSTEMCHANGE_ADD - an object was added to the system.
NDISYSTEMCHANGE_REMOVE - an object was removed from the system.