[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
WNetBrowseDialog( hWnd, nType, cPath )-> <nResult> // WfWorkgr. only !
------------------------------------------------------------------------------
PARAMETER:
<hWnd> Identifies the owner window for the dialog box.
<nType> Specifies the kind of resource to look for. It can be one of
the following values:
WNBD_CONN_DISKTREE [1] indicates shared directories
WNBD_CONN_PRINTQ [3] indicates printer queues
<cPath> This is a stringbuffer to receive the network path of the
selected resource. The String must be at least 128 characters
in length.
RETURNS:
<nResult> is WN_SUCCESS (0) if the function is successful; otherwise, the
return value is one of the following error codes:
WN_BAD_POINTER [4] The StringBuffer is invalid
WN_BAD_VALUE [5] The value of <nType> is invalid
WN_CANCEL [C] The function was canceled at the user's request
WN_NET_ERROR [2] A network error occurred
WN_NOT_SUPPORTED [1] The function is not supported
WN_OUT_OF_MEMORY [B] The function could not allocate sufficient memory
to complete its operation
WN_WINDOWS_ERROR [9] A Windows function failed
DESCRIPTION:
WNetBrowseDialog() displays one or more dialog boxes that enable the user
to select a shared resource. The function returns a string containing the
complete network path selected. It is formatted, and will be placed in the
<cPath> variable.
SOURCE:
SOURCE\WINAPI\NET.C
See Also:
WNetError
WNetGetUser
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson