Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
STORAGE_DEVICE_DESCRIPTOR (Structures)
.
C# Definition:
[StructLayout(LayoutKind.Sequential)]
struct STORAGE_DEVICE_DESCRIPTOR
public struct STORAGE_DEVICE_DESCRIPTOR
{
public uint Version;
public uint Size;
public byte DeviceType;
public byte DeviceTypeModifier;
[MarshalAs(UnmanagedType.U1)]
public bool RemovableMedia;
[MarshalAs(UnmanagedType.U1)]
public bool CommandQueueing;
public uint VendorIdOffset;
public uint ProductIdOffset;
public uint ProductRevisionOffset;
public uint SerialNumberOffset;
public STORAGE_BUS_TYPE BusType;
public uint RawPropertiesLength;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x16)]
public byte[] RawDeviceProperties;
}
VB Definition:
Structure STORAGE_DEVICE_DESCRIPTOR
Public TODO
End Structure
//To get the values of VendorIdOffset, ProductIdOffset, ProductRevisionOffset
//IntPtr resultPtr is obtained from Kernel32.DeviceIoControl with IOCTL_STORAGE_QUERY_PROPERTY control code