Vergess jedesmal wie das MINENUMSIZE lautet ... also hier nochmal in Kurz
Delphi-Quellcode:
type
{$MINENUMSIZE 4}
_PARTITION_STYLE = (
PARTITION_STYLE_MBR,
PARTITION_STYLE_GPT,
PARTITION_STYLE_RAW);
{$MINENUMSIZE 1}
oder im Notfall einfach so
Delphi-Quellcode:
type
_PARTITION_STYLE = type Integer;
const
PARTITION_STYLE_MBR = _PARTITION_STYLE(0);
PARTITION_STYLE_GPT = _PARTITION_STYLE(1);
PARTITION_STYLE_RAW = _PARTITION_STYLE(2);