|
hello everyone:
Could you tell me how to get the volume information in kernel driver?
I just do as blow,but get nothing:
pIrpStack->Parameters.QueryVolume.FsInformationClass = FileFsVolumeInformation ;
PFILE_FS_VOLUME_INFORMATION volumeInfo = (FILE_FS_VOLUME_INFORMATION*)Irp->AssociatedIrp.SystemBuffer ;
I want to user the member of VolumeSerialNumber in PFILE_FS_VOLUME_INFORMATION struct .
thanks very much!
cliicy
|
|
|
ʹÓà MSN Messenger ÓëÁª»úµÄÅóÓѽøÐн»Á÷
QueryVolume has a second field - Length, which tells file system how big the output buffer is.
Alexei.
“Luo cliicy” wrote in message news:xxxxx@ntfsd…
hello everyone:
Could you tell me how to get the volume information in kernel driver?
I just do as blow,but get nothing:
pIrpStack->Parameters.QueryVolume.FsInformationClass = FileFsVolumeInformation ;
PFILE_FS_VOLUME_INFORMATION volumeInfo = (FILE_FS_VOLUME_INFORMATION*)Irp->AssociatedIrp.SystemBuffer ;
I want to user the member of VolumeSerialNumber in PFILE_FS_VOLUME_INFORMATION struct .
thanks very much!
cliicy
------------------------------------------------------------------------------
ʹ?? MSN Messenger ???ѽ??н???