[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WNetDisconnectDialog( hWndOwner, nType )-> <nResult>
------------------------------------------------------------------------------


 PARAMETER:

  <hWndOwner>    Handle that identifies the owner window of the dialog

  <nType>        Specifies the type of device to be disconnected. The type
                 can be one of the following values: 

                  WNBD_CONN_DISKTREE [1] Indicates a disk device ( default )
                  WNBD_CONN_PRINTQ   [3] indicates a printer device. 

 RETURNS:

  <nSuccess> is WN_SUCCESS ( 0 ), if the function is successful; otherwise,
  it is one of the following values:

    WN_CANCEL        [12]  The function was canceled at the user's request
    WN_NOT_SUPPORTED [ 1]  The function is not supported
    WN_OUT_OF_MEMORY [11]  The function could not allocate sufficient
                          memory to complete its operation


 DESCRIPTION:

  The WNetDisconnectDialog function displays a driver-specific connection
  dialog box, that lets you disconnect a net drive from your workstation.


 SOURCE:  

  SOURCE\WINAPI\NET.C



See Also: WNetDisconnectDialog WNetError
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson