The DISCDLGSTRUCT data structure is used in the WNetDisconnectDialog1 function to describe the required behavior for the disconnect attempt.
typedef struct _DISCDLGSTRUCT{
DWORD cbStructure;
HWND hwndOwner;
LPTSTR lpLocalName;
LPTSTR lpRemoteName;
DWORD dwFlags;
} DISCDLGSTRUCT, *LPDISCDLGSTRUCT;
Value |
Meaning |
DISC_UPDATE_PROFILE |
If this value is set, the connection is no longer persistent (automatically restored every time the user logs on). This flag is valid only if lpLocalName specifies a local device. |
DISC_NO_FORCE |
If this value is not set, force will be applied when attempting to disconnect (typically because the user has open files). The user will be informed if there are open files to the connection and asked if he or she still wants to disconnect. If so, the disconnect procedure re-attempts with additional force. |
file: /Techref/os/win/api/win32/struc/src/str03_29.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/7 23:25,
18.227.134.45:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/os/win/api/win32/struc/src/str03_29.htm"> DISCDLGSTRUCT</A> |
Did you find what you needed? |