You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/winutil
Aaron Klotz df86576989 util/winutil: add AllocateContiguousBuffer and SetNTString helper funcs
AllocateContiguousBuffer is for allocating structs with trailing buffers
containing additional data. It is to be used for various Windows structures
containing pointers to data located immediately after the struct.

SetNTString performs in-place setting of windows.NTString and
windows.NTUnicodeString.

Updates #12383

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 weeks ago
..
authenticode util/winutil/authenticode: add missing docs for CertSubjectError 11 months ago
conpty util/winutil: add conpty package and helper for building windows.StartupInfoEx 4 weeks ago
policy winutil: refactor methods to get values from registry to also return (#9536) 9 months ago
testdata/testrestartableprocesses all: use Go 1.22 range-over-int 3 months ago
winenv util/winutil/winenv: add package for current Windows environment details 3 months ago
mksyscall.go util/winutil: add support for restarting Windows processes in specific sessions 7 months ago
restartmgr_windows.go all: use Go 1.22 range-over-int 3 months ago
restartmgr_windows_test.go all: use Go 1.22 range-over-int 3 months ago
startupinfo_windows.go util/winutil: add conpty package and helper for building windows.StartupInfoEx 4 weeks ago
subprocess_windows_test.go all: cleanup unused code, part 2 (#10670) 6 months ago
svcdiag_windows.go util/winutil: publicize existing functions for opening read-only connections to the Windows Service Control Manager 6 months ago
winutil.go util/syspolicy: add ReadStringArray interface (#11857) 2 months ago
winutil_notwindows.go util/syspolicy: add ReadStringArray interface (#11857) 2 months ago
winutil_windows.go util/winutil: add AllocateContiguousBuffer and SetNTString helper funcs 3 weeks ago
winutil_windows_test.go util/winutil: add AllocateContiguousBuffer and SetNTString helper funcs 3 weeks ago
zsyscall_windows.go util/winutil: add support for restarting Windows processes in specific sessions 7 months ago