ReactOS 0.4.16-dev-257-g6aa11ac
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winioctl.h"
#include "winnetwk.h"
#include "npapi.h"
#include "winreg.h"
#include "winuser.h"
#include "ddk/mountmgr.h"
#include "wine/debug.h"
#include "mprres.h"
#include "wnetpriv.h"
Go to the source code of this file.
Classes | |
struct | _WNetProvider |
struct | _WNetProviderTable |
struct | _WNetEnumerator |
struct | use_connection_context |
Macros | |
#define | WINE_MOUNTMGR_EXTENSIONS |
#define | WNET_ENUMERATOR_TYPE_GLOBAL 0 |
#define | WNET_ENUMERATOR_TYPE_PROVIDER 1 |
#define | WNET_ENUMERATOR_TYPE_CONTEXT 2 |
#define | WNET_ENUMERATOR_TYPE_CONNECTED 3 |
#define | WNET_ENUMERATOR_TYPE_REMEMBERED 4 |
#define | BAD_PROVIDER_INDEX (DWORD)0xffffffff |
#define | MPR_GETPROC(proc) ((PF_##proc)GetProcAddress(hLib, #proc)) |
Typedefs | |
typedef struct _WNetProvider | WNetProvider |
typedef struct _WNetProvider * | PWNetProvider |
typedef struct _WNetProviderTable | WNetProviderTable |
typedef struct _WNetProviderTable * | PWNetProviderTable |
typedef struct _WNetEnumerator | WNetEnumerator |
typedef struct _WNetEnumerator * | PWNetEnumerator |
Variables | |
static PWNetProviderTable | providerTable |
static const WCHAR | connectionType [] = { 'C','o','n','n','e','c','t','i','o','n','T','y','p','e',0 } |
static const WCHAR | providerName [] = { 'P','r','o','v','i','d','e','r','N','a','m','e',0 } |
static const WCHAR | remotePath [] = { 'R','e','m','o','t','e','P','a','t','h',0 } |
static const WCHAR | providerType [] = { 'P','r','o','v','i','d','e','r','T','y','p','e',0 } |
static const WCHAR | userName [] = { 'U','s','e','r','N','a','m','e',0 } |
#define MPR_GETPROC | ( | proc | ) | ((PF_##proc)GetProcAddress(hLib, #proc)) |
typedef struct _WNetEnumerator * PWNetEnumerator |
typedef struct _WNetProvider * PWNetProvider |
typedef struct _WNetProviderTable * PWNetProviderTable |
typedef struct _WNetEnumerator WNetEnumerator |
typedef struct _WNetProvider WNetProvider |
|
static |
Definition at line 529 of file wnet.c.
Referenced by _createGlobalEnumeratorW().
Definition at line 1420 of file wnet.c.
Referenced by _enumerateConnectedW().
|
static |
Definition at line 1104 of file wnet.c.
Referenced by _enumerateProvidersW().
|
static |
Definition at line 621 of file wnet.c.
Referenced by WNetOpenEnumW().
|
static |
|
static |
Definition at line 565 of file wnet.c.
Referenced by WNetOpenEnumW().
|
static |
Definition at line 582 of file wnet.c.
Referenced by WNetOpenEnumW().
|
static |
|
static |
Definition at line 1438 of file wnet.c.
Referenced by WNetEnumResourceW().
|
static |
Definition at line 1343 of file wnet.c.
Referenced by WNetEnumResourceW().
|
static |
Definition at line 1238 of file wnet.c.
Referenced by _enumerateGlobalW().
|
static |
Definition at line 1276 of file wnet.c.
Referenced by _enumerateContextW(), and WNetEnumResourceW().
|
static |
Definition at line 1118 of file wnet.c.
Referenced by _enumerateGlobalW().
|
static |
Definition at line 1318 of file wnet.c.
Referenced by WNetEnumResourceW().
|
static |
Definition at line 1561 of file wnet.c.
Referenced by WNetEnumResourceW().
Definition at line 509 of file wnet.c.
Referenced by wnet_use_connection(), WNetGetNetworkInformationW(), and WNetOpenEnumW().
|
static |
Definition at line 556 of file wnet.c.
Referenced by WNetCloseEnum().
|
static |
Definition at line 1194 of file wnet.c.
Referenced by _enumerateGlobalPassthroughW().
|
static |
Definition at line 747 of file wnet.c.
Referenced by WNetGetResourceInformationA(), and WNetOpenEnumA().
|
static |
Definition at line 662 of file wnet.c.
Referenced by WNetEnumResourceA(), and WNetGetResourceInformationA().
Definition at line 135 of file wnet.c.
Referenced by wnetInit().
|
static |
Definition at line 2583 of file wnet.c.
Referenced by WNetGetConnectionW().
Definition at line 1547 of file wnet.c.
Referenced by _enumeratorRememberedW().
|
static |
Definition at line 2316 of file wnet.c.
Referenced by netresource_a_to_w(), WNetCancelConnection2A(), and WNetUseConnectionA().
|
static |
Definition at line 2280 of file wnet.c.
Referenced by WNetUseConnectionA().
|
static |
Definition at line 2093 of file wnet.c.
Referenced by WNetUseConnectionW().
|
static |
Definition at line 2303 of file wnet.c.
Referenced by WNetUseConnectionA().
|
static |
Definition at line 2116 of file wnet.c.
Referenced by WNetUseConnectionW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | mpr | ) |
|
static |
Definition at line 2158 of file wnet.c.
Referenced by WNetUseConnectionA(), and WNetUseConnectionW().
|
static |
Definition at line 2129 of file wnet.c.
Referenced by wnet_use_connection().
DWORD WINAPI WNetAddConnection2A | ( | LPNETRESOURCEA | lpNetResource, |
LPCSTR | lpPassword, | ||
LPCSTR | lpUserID, | ||
DWORD | dwFlags | ||
) |
Definition at line 2037 of file wnet.c.
DWORD WINAPI WNetAddConnection2W | ( | LPNETRESOURCEW | lpNetResource, |
LPCWSTR | lpPassword, | ||
LPCWSTR | lpUserID, | ||
DWORD | dwFlags | ||
) |
Definition at line 2048 of file wnet.c.
Definition at line 2404 of file wnet.c.
Referenced by WNetCancelConnectionA().
Definition at line 2420 of file wnet.c.
Referenced by DrivesContextMenuCallback(), WNetCancelConnection2A(), WNetCancelConnectionW(), and WNetClearConnections().
Definition at line 2388 of file wnet.c.
Referenced by test_WNetUseConnection().
Definition at line 2827 of file wnet.c.
Referenced by LogoffShutdownThread().
Definition at line 1762 of file wnet.c.
Referenced by EnumerateConnectedDrives(), EnumerateConnections(), CNetFolderEnum::EnumerateRec(), np_enum(), RestoreAllConnections(), and WNetClearConnections().
Definition at line 2913 of file wnet.c.
Referenced by CShellBrowser::OnMapNetworkDrive().
DWORD WINAPI WNetConnectionDialog1A | ( | LPCONNECTDLGSTRUCTA | lpConnDlgStruct | ) |
DWORD WINAPI WNetConnectionDialog1W | ( | LPCONNECTDLGSTRUCTW | lpConnDlgStruct | ) |
Definition at line 2954 of file wnet.c.
Referenced by CShellBrowser::OnDisconnectNetworkDrive().
DWORD WINAPI WNetDisconnectDialog1A | ( | LPDISCDLGSTRUCTA | lpConnDlgStruct | ) |
DWORD WINAPI WNetDisconnectDialog1W | ( | LPDISCDLGSTRUCTW | lpConnDlgStruct | ) |
DWORD WINAPI WNetEnumResourceA | ( | HANDLE | hEnum, |
LPDWORD | lpcCount, | ||
LPVOID | lpBuffer, | ||
LPDWORD | lpBufferSize | ||
) |
Definition at line 1052 of file wnet.c.
DWORD WINAPI WNetEnumResourceW | ( | HANDLE | hEnum, |
LPDWORD | lpcCount, | ||
LPVOID | lpBuffer, | ||
LPDWORD | lpBufferSize | ||
) |
Definition at line 1702 of file wnet.c.
Referenced by WNetClearConnections(), and WNetEnumResourceA().
Definition at line 2494 of file wnet.c.
Definition at line 2661 of file wnet.c.
Referenced by WNetGetConnectionA().
DWORD WINAPI WNetGetLastErrorA | ( | LPDWORD | lpError, |
LPSTR | lpErrorBuf, | ||
DWORD | nErrorBufSize, | ||
LPSTR | lpNameBuf, | ||
DWORD | nNameBufSize | ||
) |
DWORD WINAPI WNetGetLastErrorW | ( | LPDWORD | lpError, |
LPWSTR | lpErrorBuf, | ||
DWORD | nErrorBufSize, | ||
LPWSTR | lpNameBuf, | ||
DWORD | nNameBufSize | ||
) |
Definition at line 3013 of file wnet.c.
Referenced by WNetGetLastErrorWrapW().
DWORD WINAPI WNetGetNetworkInformationA | ( | LPCSTR | lpProvider, |
LPNETINFOSTRUCT | lpNetInfoStruct | ||
) |
Definition at line 3027 of file wnet.c.
DWORD WINAPI WNetGetNetworkInformationW | ( | LPCWSTR | lpProvider, |
LPNETINFOSTRUCT | lpNetInfoStruct | ||
) |
Definition at line 3067 of file wnet.c.
Referenced by WNetGetNetworkInformationA().
Definition at line 3115 of file wnet.c.
Definition at line 3170 of file wnet.c.
DWORD WINAPI WNetGetResourceInformationA | ( | LPNETRESOURCEA | lpNetResource, |
LPVOID | lpBuffer, | ||
LPDWORD | cbBuffer, | ||
LPSTR * | lplpSystem | ||
) |
Definition at line 1822 of file wnet.c.
DWORD WINAPI WNetGetResourceInformationW | ( | LPNETRESOURCEW | lpNetResource, |
LPVOID | lpBuffer, | ||
LPDWORD | cbBuffer, | ||
LPWSTR * | lplpSystem | ||
) |
Definition at line 1937 of file wnet.c.
Referenced by WNetGetResourceInformationA().
DWORD WINAPI WNetGetResourceParentA | ( | LPNETRESOURCEA | lpNetResource, |
LPVOID | lpBuffer, | ||
LPDWORD | lpBufferSize | ||
) |
DWORD WINAPI WNetGetResourceParentW | ( | LPNETRESOURCEW | lpNetResource, |
LPVOID | lpBuffer, | ||
LPDWORD | lpBufferSize | ||
) |
DWORD WINAPI WNetGetUniversalNameA | ( | LPCSTR | lpLocalPath, |
DWORD | dwInfoLevel, | ||
LPVOID | lpBuffer, | ||
LPDWORD | lpBufferSize | ||
) |
Definition at line 2732 of file wnet.c.
Referenced by test_WNetGetRemoteName(), and test_WNetGetUniversalName().
DWORD WINAPI WNetGetUniversalNameW | ( | LPCWSTR | lpLocalPath, |
DWORD | dwInfoLevel, | ||
LPVOID | lpBuffer, | ||
LPDWORD | lpBufferSize | ||
) |
Definition at line 2779 of file wnet.c.
Referenced by fw_app_put_ProcessImageFileName(), test_NetFwAuthorizedApplication(), test_WNetGetRemoteName(), and test_WNetGetUniversalName().
Definition at line 354 of file wnet.c.
Referenced by DllMain().
DWORD WINAPI WNetOpenEnumA | ( | DWORD | dwScope, |
DWORD | dwType, | ||
DWORD | dwUsage, | ||
LPNETRESOURCEA | lpNet, | ||
LPHANDLE | lphEnum | ||
) |
Definition at line 830 of file wnet.c.
DWORD WINAPI WNetOpenEnumW | ( | DWORD | dwScope, |
DWORD | dwType, | ||
DWORD | dwUsage, | ||
LPNETRESOURCEW | lpNet, | ||
LPHANDLE | lphEnum | ||
) |
Definition at line 922 of file wnet.c.
Referenced by WNetClearConnections(), and WNetOpenEnumA().
Definition at line 2475 of file wnet.c.
Referenced by WNetRestoreConnectionWrapW().
DWORD WINAPI WNetUseConnectionA | ( | HWND | hwndOwner, |
NETRESOURCEA * | resource, | ||
LPCSTR | password, | ||
LPCSTR | userid, | ||
DWORD | flags, | ||
LPSTR | accessname, | ||
DWORD * | buffer_size, | ||
DWORD * | result | ||
) |
Definition at line 2351 of file wnet.c.
Referenced by InitFunctionPtrs(), WNetAddConnection2A(), WNetAddConnection3A(), and WNetAddConnectionA().
DWORD WINAPI WNetUseConnectionW | ( | HWND | hwndOwner, |
NETRESOURCEW * | resource, | ||
LPCWSTR | password, | ||
LPCWSTR | userid, | ||
DWORD | flags, | ||
LPWSTR | accessname, | ||
DWORD * | buffer_size, | ||
DWORD * | result | ||
) |
Definition at line 2256 of file wnet.c.
Referenced by WNetAddConnection2W(), WNetAddConnection3W(), and WNetAddConnectionW().
Definition at line 1543 of file wnet.c.
Referenced by _enumeratorRememberedW(), and wnet_use_connection().
Definition at line 1544 of file wnet.c.
Referenced by _enumeratorRememberedW(), and wnet_use_connection().
|
static |
Definition at line 129 of file wnet.c.
Referenced by _createConnectedEnumerator(), _createProviderEnumerator(), _enumerateConnectedW(), _enumerateContextW(), _enumerateGlobalPassthroughW(), _enumerateGlobalW(), _enumerateProvidersW(), _enumerateProviderW(), _findProviderIndexW(), _globalEnumeratorAdvance(), _tryLoadProvider(), get_drive_connection(), wnet_use_connection(), WNetCancelConnection2W(), WNetCloseEnum(), wnetFree(), WNetGetNetworkInformationW(), WNetGetProviderNameA(), WNetGetProviderNameW(), WNetGetResourceInformationA(), WNetGetResourceInformationW(), wnetInit(), WNetOpenEnumA(), and WNetOpenEnumW().
Definition at line 2155 of file wnet.c.
Referenced by wnet_use_connection().
Definition at line 1545 of file wnet.c.
Referenced by _enumeratorRememberedW(), and wnet_use_connection().
Definition at line 2156 of file wnet.c.
Referenced by _SHExpandEnvironmentStrings(), InternetCrackUrl_test(), test_NamedPipeHandleState(), and wnet_use_connection().