UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ntddk.IoCreateDisk |
IoCreateDisk function (ntddk.h) |
The IoCreateDisk routine initializes a raw disk by creating a new partition table. |
storage\iocreatedisk.htm |
storage |
03/29/2018 |
|
IoCreateDisk, IoCreateDisk routine [Storage Devices], ntddk/IoCreateDisk, rtns-disk_5f69686f-f812-4ccc-8bc8-4caa70230d20.xml, storage.iocreatedisk |
ntddk.h |
Ntddk.h |
Universal |
This routine is only available on Windows XP and later. |
NtosKrnl.lib |
NtosKrnl.exe |
Windows |
|
|
|
|
|
The IoCreateDisk routine initializes a raw disk by creating a new partition table.
Specifies the DEVICE_OBJECT for the raw disk.
Pointer to a CREATE_DISK structure that specifies the type and parameters for the partition table. If Disk is NULL, the routine deletes the partition table on the disk.
Returns STATUS_SUCCESS on success, or the appropriate error code on failure.
IoCreateDisk must only be used by disk drivers. Other drivers should use the IOCTL_DISK_CREATE_DISK I/O request instead.