ReactOS 0.4.15-dev-6662-g1b3eed5
|
#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 527 of file wnet.c.
Referenced by _createGlobalEnumeratorW().
Definition at line 1418 of file wnet.c.
Referenced by _enumerateConnectedW().
|
static |
Definition at line 1102 of file wnet.c.
Referenced by _enumerateProvidersW().
|
static |
Definition at line 619 of file wnet.c.
Referenced by WNetOpenEnumW().
|
static |
|
static |
Definition at line 563 of file wnet.c.
Referenced by WNetOpenEnumW().
|
static |
Definition at line 580 of file wnet.c.
Referenced by WNetOpenEnumW().
|
static |
|
static |
Definition at line 1436 of file wnet.c.
Referenced by WNetEnumResourceW().
|
static |
Definition at line 1341 of file wnet.c.
Referenced by WNetEnumResourceW().
|
static |
Definition at line 1236 of file wnet.c.
Referenced by _enumerateGlobalW().
|
static |
Definition at line 1274 of file wnet.c.
Referenced by _enumerateContextW(), and WNetEnumResourceW().
|
static |
Definition at line 1116 of file wnet.c.
Referenced by _enumerateGlobalW().
|
static |
Definition at line 1316 of file wnet.c.
Referenced by WNetEnumResourceW().
|
static |
Definition at line 1559 of file wnet.c.
Referenced by WNetEnumResourceW().
Definition at line 507 of file wnet.c.
Referenced by wnet_use_connection(), WNetGetNetworkInformationW(), and WNetOpenEnumW().
|
static |
Definition at line 554 of file wnet.c.
Referenced by WNetCloseEnum().
|
static |
Definition at line 1192 of file wnet.c.
Referenced by _enumerateGlobalPassthroughW().
|
static |
Definition at line 745 of file wnet.c.
Referenced by WNetGetResourceInformationA(), and WNetOpenEnumA().
|
static |
Definition at line 660 of file wnet.c.
Referenced by WNetEnumResourceA(), and WNetGetResourceInformationA().
Definition at line 133 of file wnet.c.
Referenced by wnetInit().
|
static |
Definition at line 2581 of file wnet.c.
Referenced by WNetGetConnectionW().
Definition at line 1545 of file wnet.c.
Referenced by _enumeratorRememberedW().
|
static |
Definition at line 2314 of file wnet.c.
Referenced by netresource_a_to_w(), WNetCancelConnection2A(), and WNetUseConnectionA().
|
static |
Definition at line 2278 of file wnet.c.
Referenced by WNetUseConnectionA().
|
static |
Definition at line 2091 of file wnet.c.
Referenced by WNetUseConnectionW().
|
static |
Definition at line 2301 of file wnet.c.
Referenced by WNetUseConnectionA().
|
static |
Definition at line 2114 of file wnet.c.
Referenced by WNetUseConnectionW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | mpr | ) |
|
static |
Definition at line 2156 of file wnet.c.
Referenced by WNetUseConnectionA(), and WNetUseConnectionW().
|
static |
Definition at line 2127 of file wnet.c.
Referenced by wnet_use_connection().
DWORD WINAPI WNetAddConnection2A | ( | LPNETRESOURCEA | lpNetResource, |
LPCSTR | lpPassword, | ||
LPCSTR | lpUserID, | ||
DWORD | dwFlags | ||
) |
Definition at line 2035 of file wnet.c.
DWORD WINAPI WNetAddConnection2W | ( | LPNETRESOURCEW | lpNetResource, |
LPCWSTR | lpPassword, | ||
LPCWSTR | lpUserID, | ||
DWORD | dwFlags | ||
) |
Definition at line 2046 of file wnet.c.
Definition at line 2402 of file wnet.c.
Referenced by WNetCancelConnectionA().
Definition at line 2418 of file wnet.c.
Referenced by DrivesContextMenuCallback(), WNetCancelConnection2A(), WNetCancelConnectionW(), and WNetClearConnections().
Definition at line 2386 of file wnet.c.
Referenced by test_WNetUseConnection().
Definition at line 2825 of file wnet.c.
Referenced by LogoffShutdownThread().
Definition at line 1760 of file wnet.c.
Referenced by EnumerateConnectedDrives(), EnumerateConnections(), CNetFolderEnum::EnumerateRec(), np_enum(), RestoreAllConnections(), and WNetClearConnections().
Definition at line 2911 of file wnet.c.
Referenced by CShellBrowser::OnMapNetworkDrive().
DWORD WINAPI WNetConnectionDialog1A | ( | LPCONNECTDLGSTRUCTA | lpConnDlgStruct | ) |
DWORD WINAPI WNetConnectionDialog1W | ( | LPCONNECTDLGSTRUCTW | lpConnDlgStruct | ) |
Definition at line 2952 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 1050 of file wnet.c.
DWORD WINAPI WNetEnumResourceW | ( | HANDLE | hEnum, |
LPDWORD | lpcCount, | ||
LPVOID | lpBuffer, | ||
LPDWORD | lpBufferSize | ||
) |
Definition at line 1700 of file wnet.c.
Referenced by WNetClearConnections(), and WNetEnumResourceA().
Definition at line 2492 of file wnet.c.
Definition at line 2659 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 3011 of file wnet.c.
Referenced by WNetGetLastErrorWrapW().
DWORD WINAPI WNetGetNetworkInformationA | ( | LPCSTR | lpProvider, |
LPNETINFOSTRUCT | lpNetInfoStruct | ||
) |
Definition at line 3025 of file wnet.c.
DWORD WINAPI WNetGetNetworkInformationW | ( | LPCWSTR | lpProvider, |
LPNETINFOSTRUCT | lpNetInfoStruct | ||
) |
Definition at line 3065 of file wnet.c.
Referenced by WNetGetNetworkInformationA().
Definition at line 3113 of file wnet.c.
Definition at line 3168 of file wnet.c.
DWORD WINAPI WNetGetResourceInformationA | ( | LPNETRESOURCEA | lpNetResource, |
LPVOID | lpBuffer, | ||
LPDWORD | cbBuffer, | ||
LPSTR * | lplpSystem | ||
) |
Definition at line 1820 of file wnet.c.
DWORD WINAPI WNetGetResourceInformationW | ( | LPNETRESOURCEW | lpNetResource, |
LPVOID | lpBuffer, | ||
LPDWORD | cbBuffer, | ||
LPWSTR * | lplpSystem | ||
) |
Definition at line 1935 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 2730 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 2777 of file wnet.c.
Referenced by fw_app_put_ProcessImageFileName(), test_NetFwAuthorizedApplication(), test_WNetGetRemoteName(), and test_WNetGetUniversalName().
Definition at line 352 of file wnet.c.
Referenced by DllMain().
DWORD WINAPI WNetOpenEnumA | ( | DWORD | dwScope, |
DWORD | dwType, | ||
DWORD | dwUsage, | ||
LPNETRESOURCEA | lpNet, | ||
LPHANDLE | lphEnum | ||
) |
Definition at line 828 of file wnet.c.
DWORD WINAPI WNetOpenEnumW | ( | DWORD | dwScope, |
DWORD | dwType, | ||
DWORD | dwUsage, | ||
LPNETRESOURCEW | lpNet, | ||
LPHANDLE | lphEnum | ||
) |
Definition at line 920 of file wnet.c.
Referenced by WNetClearConnections(), and WNetOpenEnumA().
Definition at line 2473 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 2349 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 2254 of file wnet.c.
Referenced by WNetAddConnection2W(), WNetAddConnection3W(), and WNetAddConnectionW().
Definition at line 1541 of file wnet.c.
Referenced by _enumeratorRememberedW(), and wnet_use_connection().
Definition at line 1542 of file wnet.c.
Referenced by _enumeratorRememberedW(), and wnet_use_connection().
|
static |
Definition at line 127 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 2153 of file wnet.c.
Referenced by wnet_use_connection().
Definition at line 1543 of file wnet.c.
Referenced by _enumeratorRememberedW(), and wnet_use_connection().
Definition at line 2154 of file wnet.c.
Referenced by _SHExpandEnvironmentStrings(), InternetCrackUrl_test(), test_NamedPipeHandleState(), and wnet_use_connection().