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>
2024-06-10 09:39:37 -06:00
..
authenticode util/winutil/authenticode: add missing docs for CertSubjectError 2023-08-14 11:07:12 -06:00
conpty util/winutil: add conpty package and helper for building windows.StartupInfoEx 2024-06-06 14:18:36 -06:00
policy winutil: refactor methods to get values from registry to also return (#9536) 2023-09-26 13:15:11 -04:00
testdata/testrestartableprocesses all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
winenv util/winutil/winenv: add package for current Windows environment details 2024-04-09 13:25:37 -05:00
mksyscall.go util/winutil: add support for restarting Windows processes in specific sessions 2023-11-30 14:04:27 -08:00
restartmgr_windows_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
restartmgr_windows.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
startupinfo_windows.go util/winutil: add conpty package and helper for building windows.StartupInfoEx 2024-06-06 14:18:36 -06:00
subprocess_windows_test.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
svcdiag_windows.go util/winutil: publicize existing functions for opening read-only connections to the Windows Service Control Manager 2023-12-22 10:52:50 -08:00
winutil_notwindows.go util/syspolicy: add ReadStringArray interface (#11857) 2024-04-23 22:23:48 -07:00
winutil_windows_test.go util/winutil: add AllocateContiguousBuffer and SetNTString helper funcs 2024-06-10 09:39:37 -06:00
winutil_windows.go util/winutil: add AllocateContiguousBuffer and SetNTString helper funcs 2024-06-10 09:39:37 -06:00
winutil.go util/syspolicy: add ReadStringArray interface (#11857) 2024-04-23 22:23:48 -07:00
zsyscall_windows.go util/winutil: add support for restarting Windows processes in specific sessions 2023-11-30 14:04:27 -08:00