{"success":true,"data":{"ext":"vxd","name":"Windows virtual device drivers","description":"Windows virtual device drivers (VxDs) are low-level system components developed by Microsoft for early versions of Windows, where they provided direct access to hardware and system services. They were used for device control, virtualization of interrupts and timers, and support for peripherals and compatibility layers in Windows 3.x and Windows 9x systems. VxDs are a legacy format and are no longer used in modern Windows, so files bearing this extension are typically of historical interest.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4D 5A","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_vxd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid VXD by magic bytes.\"\"\"\n    signature = bytes([0x4D, 0x5A])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isVXD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4D, 0x5A]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsVXD(data []byte) bool {\n    signature := []byte{0x4D, 0x5A}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}