NPSNotifyGetContext

The function to obtain notification context.


LPVOID NPSNotifyGetContext(
      NOTIFYCALLBACK NotifyCallBack
  );

NotifyCallBack

The notification function that was previously passed in to NPSNotifyRegister for the type of operation currently being attempted.

Add Connection Notification

This notification is done when an attempt to add a connection is made (specifically by WNetAddConnection, WNetAddConnection2, WNetAddConnection3, WNetUseConnection, or WNetRestoreConnection).