Documentation ¶
Index ¶
- Constants
- func NetDfsGetInfo(DfsEntryPath *uint16, ServerName *uint16, ShareName *uint16, Level uint32, ...) (neterr error)
- func NetShareEnum(serverName *uint16, level uint32, buf **byte, prefMaxLen uint32, ...) (neterr error)
- func NetShareGetInfo(serverName *uint16, netName *uint16, level uint32, buf **byte) (neterr error)
- func WNetAddConnection2(netResource *Netresource, password *uint16, username *uint16, flags uint32) (neterr error)
- func WNetCancelConnection2(name *uint16, flags uint32, force bool) (neterr error)
- type DFS_INFO_3
- type DFS_STORAGE_INFO
- type DWORD
- type IBindCtx
- type LMSTR
- type LPWSTR
- type Netresource
- type PROPERTYKEY
- type SHARE_INFO_1
- type SHARE_INFO_1005
- type SHARE_INFO_2
- type ULONG
Constants ¶
View Source
const GPS_DEFAULT = 0
Variables ¶
This section is empty.
Functions ¶
func NetDfsGetInfo ¶
func NetShareEnum ¶
func NetShareGetInfo ¶
func WNetAddConnection2 ¶
func WNetAddConnection2(netResource *Netresource, password *uint16, username *uint16, flags uint32) (neterr error)
Types ¶
type DFS_INFO_3 ¶
type DFS_INFO_3 struct { EntryPath LPWSTR Comment LPWSTR State DWORD NumberOfStorages DWORD DfsStorageInfo *DFS_STORAGE_INFO }
type DFS_STORAGE_INFO ¶
type LMSTR ¶
type LMSTR *uint16 // Func: *uint16 NetshareAdd, Struct: go *uint16 (share_info_2) strings have to be converted to pointer and pointer have to be converted back to strings
type Netresource ¶
type PROPERTYKEY ¶
type PROPERTYKEY struct { ole.GUID PID uint32 }
type SHARE_INFO_1 ¶
type SHARE_INFO_1005 ¶
type SHARE_INFO_1005 struct {
Flags DWORD
}
type SHARE_INFO_2 ¶
Click to show internal directories.
Click to hide internal directories.