Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

391 B
Raw Blame
package windxg

import "fmt"

// LUID is a Windows locally unique identifier for an adapter.
// Defined without OS tags so unit tests run on all platforms.
type LUID struct {
	LowPart  uint32
	HighPart int32
}

// FormatLUIDKey formats a LUID the way GPU PDH instance names encode it.
func FormatLUIDKey(l LUID) string {
	return fmt.Sprintf("0x%08X_0x%08X", uint32(l.HighPart), l.LowPart)
}