FILTERHOOK
This structure contains function pointers to file system filter functions.
typedef struct tagFILTERHOOK {
DWORD cbSize;
DWORD hVolume;
PCLOSEVOLUME pCloseVolume;
PCREATEDIRECTORYW pCreateDirectoryW;
PREMOVEDIRECTORYW pRemoveDirectoryW;
PGETFILEATTRIBUTESW pGetFileAttributesW;
PSETFILEATTRIBUTESW pSetFileAttributesW;
PDELETEFILEW pDeleteFileW;
PMOVEFILEW pMoveFileW;
PDELETEANDRENAMEFILEW pDeleteAndRenameFileW;
PGETDISKFREESPACEW pGetDiskFreeSpaceW;
PNOTIFY pNotify;
PREGISTERFILESYSTEMFUNCTION pRegisterFileSystemFunction;
PFINDFIRSTFILEW pFindFirstFileW;
PFINDNEXTFILEW pFindNextFileW;
PFINDCLOSE pFindClose;
PCREATEFILEW pCreateFileW;
PREADFILE pReadFile;
PREADFILEWITHSEEK pReadFileWithSeek;
PWRITEFILE pWriteFile;
PWRITEFILEWITHSEEK pWriteFileWithSeek;
PSETFILEPOINTER pSetFilePointer;
PGETFILESIZE pGetFileSize;
PGETFILEINFORMATIONBYHANDLE pGetFileInformationByHandle;
PFLUSHFILEBUFFERS pFlushFileBuffers;
PGETFILETIME pGetFileTime;
PSETFILETIME pSetFileTime;
PSETENDOFFILE pSetEndOfFile;
PDEVICEIOCONTROL pDeviceIoControl;
PCLOSEFILE pCloseFile;
PREFRESHVOLUME pRefreshVolume;
} FILTERHOOK, *PFILTERHOOK;
Members
- cbSize
Set to sizeof(FILTERHOOK). - hVolume
Handle to the volume. - pCloseVolume
Pointer to the MyFSD_CloseVolume function. - pCreateDirectoryW
Pointer to the MyFSD_CreateDirectoryW function. - pRemoveDirectoryW
Pointer to theMyFSD_RemoveDirectoryW function. - pGetFileAttributesW
Pointer to the MyFSD_GetFileAttributesW function. - pSetFileAttributesW
Pointer to the MyFSD_SetFileAttributesW function. - pDeleteFileW
Pointer to the MyFSD_DeleteFileW function. - pMoveFileW
Pointer to the MyFSD_MoveFileW function. - pDeleteAndRenameFileW
Function pointer to MyFSD_DeleteAndRenameFileW function. - pGetDiskFreeSpaceW
Pointer to the MyFSD_GetDiskFreeSpaceW function. - pNotify
Pointer to the MyFSD_Notify function. - pRegisterFileSystemFunction
Pointer to the MyFSD_RegisterFileSystemFunction function. - pFindFirstFileW
Pointer to the MyFSD_FindFirstFileW function. - pFindNextFileW
Pointer to the MyFSD_FindNextFileW function. - pFindClose
Pointer to the MyFSD_FindClose function. - pCreateFileW
Pointer to the MyFSD_CreateFileW function. - pReadFile
Pointer to the MyFSD_ReadFile function. - pReadFileWithSeek
Pointer to the MyFSD_ReadFileWithSeek function. - pWriteFile
Pointer to the MyFSD_WriteFile function. - pWriteFileWithSeek
Pointer to the MyFSD_WriteFileWithSeek function. - pSetFilePointer
Pointer to the MyFSD_SetFilePointer function. - pGetFileSize
Pointer to the MyFSD_GetFileSize function. - pGetFileInformationByHandle
Pointer to the MyFSD_GetFileInformationByHandle function. - pFlushFileBuffers
Pointer to the MyFSD_FlushFileBuffers function. - pGetFileTime
Pointer to the MyFSD_GetFileTime function. - pSetFileTime
Pointer to the MyFSD_SetFileTime function. - pSetEndOfFile
Pointer to the MyFSD_SetEndOfFile function. - pDeviceIoControl
Pointer to the MyFSD_DeviceIoControl function. - pCloseFile
Pointer to the MyFSD_CloseFile function. - pRefreshVolume
Pointer to the MyFSD_RefreshVolume function.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Fsdmgr.h.
See Also
FSD_HookVolume | FSD_UnhookVolume | MyFSD_CloseVolume | MyFSD_CreateDirectoryW | MyFSD_RemoveDirectoryW | MyFSD_GetFileAttributesW | MyFSD_SetFileAttributesW | MyFSD_DeleteFileW | MyFSD_MoveFileW | MyFSD_DeleteAndRenameFileW | MyFSD_GetDiskFreeSpaceW | MyFSD_Notify | MyFSD_RegisterFileSystemFunction | MyFSD_FindFirstFileW | MyFSD_FindNextFileW | MyFSD_FindClose | MyFSD_CreateFileW | MyFSD_ReadFile | MyFSD_ReadFileWithSeek | MyFSD_WriteFile | MyFSD_WriteFileWithSeek | MyFSD_SetFilePointer | MyFSD_GetFileSize | MyFSD_GetFileInformationByHandle | MyFSD_FlushFileBuffers | MyFSD_GetFileTime | MyFSD_SetFileTime | MyFSD_SetEndOfFile | MyFSD_DeviceIoControl | MyFSD_CloseFile
Last updated on Friday, April 09, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.