please dont rip this site Prev Next

DISCDLGSTRUCT info  Overview  Group

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;

Members

cbStructure
The size, in bytes, of the DISCDLGSTRUCT structure. This structure is filled in by the caller to indicate the size of the structure passed in.
hwndOwner
This specifies the handle to the owning window.
lpRemoteName
Specifies the network resource to disconnect. This member may be set to NULL if lpLocalName is specified. When this occurs, the connection to the resource redirected from lpLocalName is disconnected.
lpLocalName
The local device name that is redirected to the network resource, such as "F:" or "LPT1".
dwFlags
This member can be any combination of the following values:

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/12/28 19:41,
TOP NEW HELP FIND: 
3.145.168.68:LOG IN

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/os/win/api/win32/struc/src/str03_29.htm"> DISCDLGSTRUCT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .