DISCDLGSTRUCT
This structure is used in the WNetDisconnectDialog1 function to describe the required behavior for the disconnect attempt.
typedef struct _wcesdk_win32_DISCDLGSTRUCT_str{
DWORD cbStructure;
HWND hwndOwner;
LPTSTR lpLocalName;
LPTSTR lpRemoteName;
DWORD dwFlags;
} DISCDLGSTRUCT;
Members
- cbStructure
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
Handle to the owning window. - lpRemoteName
Long pointer to the network resource to disconnect. This member can be set to NULL if lpLocalName is specified. When this occurs, the connection to the resource redirected from **lpLocalName****is disconnected. - lpLocalName
Long pointer to the local name that is redirected to the network resource, such as "myShare." - dwFlags
Must be set to the following flag.Value Description DISC_NO_FORCE If this value is not set, a forced disconnect will occur — typically because the user has open files. The user will be informed if there are open files to the connection and offered the option to disconnect.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Winnetwk.h.
See Also
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.