Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NetGetJoinInformation (0.38 sec)

  1. src/syscall/security_windows.go

    	FullName   *uint16
    }
    
    //sys	NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **byte) (neterr error) = netapi32.NetUserGetInfo
    //sys	NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (neterr error) = netapi32.NetGetJoinInformation
    //sys	NetApiBufferFree(buf *byte) (neterr error) = netapi32.NetApiBufferFree
    
    const (
    	// do not reorder
    	SidTypeUser = 1 + iota
    	SidTypeGroup
    	SidTypeDomain
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. src/os/user/lookup_windows.go

    import (
    	"fmt"
    	"internal/syscall/windows"
    	"internal/syscall/windows/registry"
    	"syscall"
    	"unsafe"
    )
    
    func isDomainJoined() (bool, error) {
    	var domain *uint16
    	var status uint32
    	err := syscall.NetGetJoinInformation(nil, &domain, &status)
    	if err != nil {
    		return false, err
    	}
    	syscall.NetApiBufferFree((*byte)(unsafe.Pointer(domain)))
    	return status == syscall.NetSetupDomainName, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	FullName   *uint16
    }
    
    //sys	NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **byte) (neterr error) = netapi32.NetUserGetInfo
    //sys	NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (neterr error) = netapi32.NetGetJoinInformation
    //sys	NetApiBufferFree(buf *byte) (neterr error) = netapi32.NetApiBufferFree
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_windows.go

    	procTransmitFile                       = modmswsock.NewProc("TransmitFile")
    	procNetApiBufferFree                   = modnetapi32.NewProc("NetApiBufferFree")
    	procNetGetJoinInformation              = modnetapi32.NewProc("NetGetJoinInformation")
    	procNetUserGetInfo                     = modnetapi32.NewProc("NetUserGetInfo")
    	procGetUserNameExW                     = modsecur32.NewProc("GetUserNameExW")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procNetApiBufferFree                                     = modnetapi32.NewProc("NetApiBufferFree")
    	procNetGetJoinInformation                                = modnetapi32.NewProc("NetGetJoinInformation")
    	procNetUserEnum                                          = modnetapi32.NewProc("NetUserEnum")
    	procNetUserGetInfo                                       = modnetapi32.NewProc("NetUserGetInfo")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NameServicePrincipal", Const, 0},
    		{"NameUniqueId", Const, 0},
    		{"NameUnknown", Const, 0},
    		{"NameUserPrincipal", Const, 0},
    		{"Nanosleep", Func, 0},
    		{"NetApiBufferFree", Func, 0},
    		{"NetGetJoinInformation", Func, 2},
    		{"NetSetupDomainName", Const, 2},
    		{"NetSetupUnjoined", Const, 2},
    		{"NetSetupUnknownStatus", Const, 2},
    		{"NetSetupWorkgroupName", Const, 2},
    		{"NetUserGetInfo", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.2.txt

    pkg syscall (windows-386), const XP1_UNI_SEND = 32768
    pkg syscall (windows-386), const XP1_UNI_SEND ideal-int
    pkg syscall (windows-386), func LoadSetFileCompletionNotificationModes() error
    pkg syscall (windows-386), func NetGetJoinInformation(*uint16, **uint16, *uint32) error
    pkg syscall (windows-386), func SetFileCompletionNotificationModes(Handle, uint8) error
    pkg syscall (windows-386), func WSAEnumProtocols(*int32, *WSAProtocolInfo, *uint32) (int32, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top