How can I (reformat) a section from a .net application?

I have a C ++ / CLI application that should format a partition (single-disc writing in Windows XP Embedded).

Is there any other way to do this, besides starting the standard window formatting program? .. or is this my best option?

+3
source share
1 answer

You must do this using the DeviceIoControl function .

Depending on what you are trying to achieve, the following control codes look relevant:

, , , XP:

Vista/Windows Server 2003 ( ), COM- IVdsVolumeMF .

Windows Server 2003 ( ) Win32_Volume WMI .

+2

Source: https://habr.com/ru/post/1752642/


All Articles