Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for newProcThreadAttributeList (4.09 sec)

  1. src/syscall/export_windows_test.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syscall
    
    var NewProcThreadAttributeList = newProcThreadAttributeList
    var UpdateProcThreadAttribute = updateProcThreadAttribute
    var DeleteProcThreadAttributeList = deleteProcThreadAttributeList
    
    const PROC_THREAD_ATTRIBUTE_HANDLE_LIST = _PROC_THREAD_ATTRIBUTE_HANDLE_LIST
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 500 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    		if err != nil {
    			return "", err
    		}
    		if n <= uint32(len(buf)) {
    			return UTF16ToString(buf[:n]), nil
    		}
    	}
    }
    
    // NewProcThreadAttributeList allocates a new ProcThreadAttributeListContainer, with the requested maximum number of attributes.
    func NewProcThreadAttributeList(maxAttrCount uint32) (*ProcThreadAttributeListContainer, error) {
    	var size uintptr
    	err := initializeProcThreadAttributeList(nil, maxAttrCount, 0, &size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. src/syscall/exec_windows.go

    				return 0, 0, err
    			}
    			defer DuplicateHandle(parentProcess, fd[i], 0, nil, 0, false, DUPLICATE_CLOSE_SOURCE)
    		}
    	}
    	si := new(_STARTUPINFOEXW)
    	si.ProcThreadAttributeList, err = newProcThreadAttributeList(2)
    	if err != nil {
    		return 0, 0, err
    	}
    	defer deleteProcThreadAttributeList(si.ProcThreadAttributeList)
    	si.Cb = uint32(unsafe.Sizeof(*si))
    	si.Flags = STARTF_USESTDHANDLES
    	if sys.HideWindow {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 18:29:48 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. src/syscall/syscall_windows.go

    	return postQueuedCompletionStatus(cphandle, qty, uintptr(key), overlapped)
    }
    
    // newProcThreadAttributeList allocates new PROC_THREAD_ATTRIBUTE_LIST, with
    // the requested maximum number of attributes, which must be cleaned up by
    // deleteProcThreadAttributeList.
    func newProcThreadAttributeList(maxAttrCount uint32) (*_PROC_THREAD_ATTRIBUTE_LIST, error) {
    	var size uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	StartupInfo
    	ProcThreadAttributeList *ProcThreadAttributeList
    }
    
    // ProcThreadAttributeList is a placeholder type to represent a PROC_THREAD_ATTRIBUTE_LIST.
    //
    // To create a *ProcThreadAttributeList, use NewProcThreadAttributeList, update
    // it with ProcThreadAttributeListContainer.Update, free its memory using
    // ProcThreadAttributeListContainer.Delete, and access the list itself using
    // ProcThreadAttributeListContainer.List.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
Back to top