core.sys.windows.winnetwk

Windows API header module

Translated from MinGW Windows headers

Authors

Stewart Gordon

License

Types 35

Fields
DWORD dwScope
DWORD dwType
DWORD dwDisplayType
DWORD dwUsage
LPSTR lpLocalName
LPSTR lpRemoteName
LPSTR lpComment
LPSTR lpProvider
Fields
DWORD dwScope
DWORD dwType
DWORD dwDisplayType
DWORD dwUsage
LPWSTR lpLocalName
LPWSTR lpRemoteName
LPWSTR lpComment
LPWSTR lpProvider
Fields
DWORD cbStructure
HWND hwndOwner
LPNETRESOURCEA lpConnRes
DWORD dwFlags
DWORD dwDevNum
Fields
DWORD cbStructure
HWND hwndOwner
LPNETRESOURCEW lpConnRes
DWORD dwFlags
DWORD dwDevNum
Fields
DWORD cbStructure
HWND hwndOwner
LPSTR lpLocalName
LPSTR lpRemoteName
DWORD dwFlags
Fields
DWORD cbStructure
HWND hwndOwner
LPWSTR lpLocalName
LPWSTR lpRemoteName
DWORD dwFlags
Fields
LPSTR lpUniversalName
Fields
LPWSTR lpUniversalName
Fields
LPSTR lpUniversalName
LPSTR lpConnectionName
LPSTR lpRemainingPath
Fields
LPWSTR lpUniversalName
LPWSTR lpConnectionName
LPWSTR lpRemainingPath
Fields
DWORD cbStructure
DWORD dwProviderVersion
DWORD dwStatus
DWORD dwCharacteristics
ULONG_PTR dwHandle
WORD wNetType
DWORD dwPrinters
DWORD dwDrives
Fields
DWORD cbStructure
DWORD dwFlags
DWORD dwSpeed
DWORD dwDelay
DWORD dwOptDataSize
aliasLPNETRESOURCE = NETRESOURCE *
aliasLPCONNECTDLGSTRUCT = CONNECTDLGSTRUCT *
aliasLPDISCDLGSTRUCT = DISCDLGSTRUCT *
aliasLPREMOTE_NAME_INFO = REMOTE_NAME_INFO *
aliasLPUNIVERSAL_NAME_INFO = UNIVERSAL_NAME_INFO *

Functions 43

fnDWORD WNetAddConnection2A(LPNETRESOURCEA, LPCSTR, LPCSTR, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetAddConnection2W(LPNETRESOURCEW, LPCWSTR, LPCWSTR, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetAddConnection3A(HWND, LPNETRESOURCEA, LPCSTR, LPCSTR, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetAddConnection3W(HWND, LPNETRESOURCEW, LPCWSTR, LPCWSTR, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetCancelConnection2A(LPCSTR, DWORD, BOOL) extern(Windows) nothrow @nogc
fnDWORD WNetCancelConnection2W(LPCWSTR, DWORD, BOOL) extern(Windows) nothrow @nogc
fnDWORD WNetGetConnectionA(LPCSTR, LPSTR, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetConnectionW(LPCWSTR, LPWSTR, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetSetConnectionA(LPCSTR, DWORD, PVOID) extern(Windows) nothrow @nogc
fnDWORD WNetSetConnectionW(LPCWSTR, DWORD, PVOID) extern(Windows) nothrow @nogc
fnDWORD WNetConnectionDialog(HWND, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetDisconnectDialog(HWND, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA) extern(Windows) nothrow @nogc
fnDWORD WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW) extern(Windows) nothrow @nogc
fnDWORD WNetDisconnectDialog1A(LPDISCDLGSTRUCTA) extern(Windows) nothrow @nogc
fnDWORD WNetDisconnectDialog1W(LPDISCDLGSTRUCTW) extern(Windows) nothrow @nogc
fnDWORD WNetOpenEnumA(DWORD, DWORD, DWORD, LPNETRESOURCEA, LPHANDLE) extern(Windows) nothrow @nogc
fnDWORD WNetOpenEnumW(DWORD, DWORD, DWORD, LPNETRESOURCEW, LPHANDLE) extern(Windows) nothrow @nogc
fnDWORD WNetEnumResourceA(HANDLE, PDWORD, PVOID, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetEnumResourceW(HANDLE, PDWORD, PVOID, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetCloseEnum(HANDLE) extern(Windows) nothrow @nogc
fnDWORD WNetGetUniversalNameA(LPCSTR, DWORD, PVOID, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetUniversalNameW(LPCWSTR, DWORD, PVOID, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetUserA(LPCSTR, LPSTR, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetUserW(LPCWSTR, LPWSTR, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetProviderNameA(DWORD, LPSTR, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetProviderNameW(DWORD, LPWSTR, PDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetNetworkInformationA(LPCSTR, LPNETINFOSTRUCT) extern(Windows) nothrow @nogc
fnDWORD WNetGetNetworkInformationW(LPCWSTR, LPNETINFOSTRUCT) extern(Windows) nothrow @nogc
fnDWORD WNetGetResourceInformationA(LPNETRESOURCEA, LPVOID, LPDWORD, LPSTR *) extern(Windows) nothrow @nogc
fnDWORD WNetGetResourceParentA(LPNETRESOURCEA, LPVOID, LPDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetResourceParentW(LPNETRESOURCEW, LPVOID, LPDWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetLastErrorA(PDWORD, LPSTR, DWORD, LPSTR, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetGetLastErrorW(PDWORD, LPWSTR, DWORD, LPWSTR, DWORD) extern(Windows) nothrow @nogc
fnDWORD WNetAddConnectionA(LPCSTR, LPCSTR, LPCSTR) extern(Windows) nothrow @nogc
deprecated
fnDWORD WNetAddConnectionW(LPCWSTR, LPCWSTR, LPCWSTR) extern(Windows) nothrow @nogc
deprecated
fnDWORD WNetCancelConnectionA(LPCSTR, BOOL) extern(Windows) nothrow @nogc
deprecated
fnDWORD WNetCancelConnectionW(LPCWSTR, BOOL) extern(Windows) nothrow @nogc
deprecated

Variables 11

enumvarRESOURCETYPE_ANY = 0
enumvarRESOURCEUSAGE_CONNECTABLE = 0x00000001
enumvarNETPROPERTY_PERSISTENT = 1
enumvarCONNECT_UPDATE_PROFILE = 1
enumvarCONNDLG_RO_PATH = 1
enumvarDISC_UPDATE_PROFILE = 1
enumvarWNFMT_MULTILINE = 1
enumvarNETINFO_DLL16 = 1
enumvarRP_LOGON = 1
enumvarPP_DISPLAYERRORS = 1
enumvarWNCON_FORNETCARD = 1