WNetDisconnectDialog1

This function attempts to disconnect from a network resource. If an NP returns WN_OPEN_FILES, it prompts the user for confirmation. If there is any error, it informs the user.


DWORD WNetDisconnectDialog1(
      LPDISCDLGSTRUCT lpConnDlgStruct
    );

lpConnDlgStruct

Pointer to a structure that describes the required behavior for the diconnect attempt. This structure has the following format: