STATUS_STOPPED_ON_SYMLINK如果已設定Options參數旗IO_STOP_ON_SYMLINK標,且開啟或建立檔案時遇到符號連結,則 ioCreateFileEx會傳回此狀態值。 如果IoCreateFileEx例程傳回錯誤狀態,呼叫端可以檢查IoStatusBlock參數,找到失敗原因的其他資訊。 IoCreateFileEx可能會傳回STATUS_FILE_LOCK_CONFLICT做為傳回值,或在IoStatusBlock...
IoCreateFileEx 是一个在 Windows 内核模式驱动程序中用于创建或打开文件的函数。它提供了比 IoCreateFile 更多的选项和灵活性,允许驱动程序在创建或打开文件时指定更详细的参数。其基本用途是建立与文件系统对象的通信通道,以便进行读写操作等。 函数原型通常如下(具体参数可能因 Windows 版本而异):...
STATUS_STOPPED_ON_SYMLINK如果已設定Options參數旗標IO_STOP_ON_SYMLINK,且開啟或建立檔案時遇到符號連結,IoCreateFileEx會傳回此狀態值。 如果IoCreateFileEx例程傳回錯誤狀態,呼叫端可藉由檢查IoStatusBlock參數來尋找失敗原因的其他資訊。 IoCreateFileEx可能會傳回STATUS_FILE_LOCK_CONFLICT做為傳回值,或在IoStatusBlock參...
STATUS_STOPPED_ON_SYMLINK如果已設定Options參數旗標IO_STOP_ON_SYMLINK,且開啟或建立檔案時遇到符號連結,IoCreateFileEx會傳回此狀態值。 如果IoCreateFileEx例程傳回錯誤狀態,呼叫端可藉由檢查IoStatusBlock參數來尋找失敗原因的其他資訊。 IoCreateFileEx可能會傳回STATUS_FILE_LOCK_CONFLICT做為傳回值,或在IoStatusBlock參...
The IoCreateFileEx routine either causes a new file or directory to be created, or opens an existing file, device, directory, or volume and gives the caller a handle for the file object. File system filter drivers (legacy filter drivers) call this routine. Syntax C++ Copy NTSTATUS ...
The IoCreateFileEx routine either causes a new file or directory to be created, or opens an existing file, device, directory, or volume and gives the caller a handle for the file object. File system filter drivers (legacy filter drivers) call this routine.Syntax...
IoCreateFileEx返回STATUS_SUCCESS或适当的 NTSTATUS 值,例如以下值之一。 返回代码说明 STATUS_INVALID_DEVICE_OBJECT_PARAMETER如果DriverContext参数不为NULL,并且指定的设备对象未附加到文件或目录名称中指定的卷的文件系统驱动程序堆栈,IoCreateFileEx将返回此状态值。 此设备对象由 IO_DRIVER_CREATE_CONTEXT 结构的DeviceObj...
STATUS_MOUNT_POINT_NOT_RESOLVEDIoCreateFileExreturns this status value if theDriverContextparameter is notNULLand if the file or directory name contains a mount point that resolves to a volume other than the one to which the specified device object is attached. This device object is specified by ...
NTSTATUSIoCreateFileEx( [out] PHANDLE FileHandle, [in] ACCESS_MASK DesiredAccess, [in] POBJECT_ATTRIBUTES ObjectAttributes, [out] PIO_STATUS_BLOCK IoStatusBlock, [in, optional] PLARGE_INTEGER AllocationSize, [in] ULONG FileAttributes, [in] ULONG ShareAccess, [in] ULONG Disposition, [in] ULONG...