Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for regCreateKeyEx (0.2 sec)

  1. src/internal/syscall/windows/registry/syscall.go

    package registry
    
    import "syscall"
    
    const (
    	_REG_OPTION_NON_VOLATILE = 0
    
    	_REG_CREATED_NEW_KEY     = 1
    	_REG_OPENED_EXISTING_KEY = 2
    
    	_ERROR_NO_MORE_ITEMS syscall.Errno = 259
    )
    
    //sys	regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class *uint16, options uint32, desired uint32, sa *syscall.SecurityAttributes, result *syscall.Handle, disposition *uint32) (regerrno error) = advapi32.RegCreateKeyExW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/registry/zsyscall_windows.go

    	procRegSetValueExW            = modadvapi32.NewProc("RegSetValueExW")
    	procExpandEnvironmentStringsW = modkernel32.NewProc("ExpandEnvironmentStringsW")
    )
    
    func regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class *uint16, options uint32, desired uint32, sa *syscall.SecurityAttributes, result *syscall.Handle, disposition *uint32) (regerrno error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/registry/key.go

    // The access parameter specifies the access rights for the key
    // to be created.
    func CreateKey(k Key, path string, access uint32) (newk Key, openedExisting bool, err error) {
    	var h syscall.Handle
    	var d uint32
    	err = regCreateKeyEx(syscall.Handle(k), syscall.StringToUTF16Ptr(path),
    		0, nil, _REG_OPTION_NON_VOLATILE, access, nil, &h, &d)
    	if err != nil {
    		return 0, false, err
    	}
    	return Key(h), d == _REG_OPENED_EXISTING_KEY, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top