Hi,Driver experts! I was used IoCreateFileSpecifyDeviceObjectHint function in a Volume Filter,and it always return STATUS_INVALID_DEVICE_OBJECT_PARAMETER,no once is successful.Does anyone know why this happened?I am very distressed for the hassle. my code is:
A pointer to the device object to which the create request is to be sent. The device object must be a filter or file system device object in the file system driver stack for the volume on which the file or directory resides. This parameter is optional and can be NULL. If this parameter is NULL, the request will be sent to the device object at the top of the driver stack.
Return code
Description
STATUS_INVALID_DEVICE_OBJECT_PARAMETER
The specified DeviceObject is not attached to the file system driver stack for the volume specified in the file or directory name. This error can also occur if the name contains a reparse point other than a mount point.