次の方法で共有


FILTERHOOK (Windows Embedded CE 6.0)

1/6/2010

This structure contains function pointers to file system filter functions.

Syntax

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.
  • **
  • pRefreshVolume
    Pointer to the MyFSD_RefreshVolume function.

Requirements

Header fsdmgr.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

FSD Structures
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_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

Other Resources