IoAssignArcName macro (ntddk.h)
The IoAssignArcName routine creates a symbolic link between the ARC name of a physical device and the name of the corresponding device object when it has been created.
Syntax
void IoAssignArcName(
[in] ArcName,
[in] DeviceName
);
Parameters
[in] ArcName
Pointer to a buffer containing the ARC name of the device. The ARC name must be a Unicode string.
[in] DeviceName
Pointer to a buffer containing the name of the device object, representing the same device. The device object name must be a Unicode string.
Return value
None
Remarks
Drivers of hard disk devices need not call this routine. Drivers of other mass storage devices, including floppy, CD-ROM, and tape devices, should call IoAssignArcName during their initialization.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Desktop |
Header | ntddk.h (include Ntddk.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport) |