Share via


FSD_HookVolume (Compact 2013)

3/26/2014

This function is the entry point called by Storage Manager when it loads a file system filter. This function is exported by a filter and is called indirectly by File System Disk Manager (FSDMGR).

Syntax

PVOLUME FSD_HookVolume(
  HDSK hdsk,
  PFILTERHOOK pFilterHook
);

Parameters

  • hdsk
    [in] Handle to the disk. The filter can use this structure to call back to Storage Manager.
  • pFilterHook
    [in] A pointer to a FILTERHOOK structure. The hVolume member of this structure is the handle to the previous volume, or the volume below it, on the filter stack. This volume can be another filter or the file system. The file system filter uses this handle to call the underlying filter or the file system using the function pointers in the FILTERHOOK structure.

Return Value

A pointer to the VOLUME indicates success.

Requirements

Header

fsdmgr.h

Library

Fsdmgr.lib

See Also

Reference

FSD Functions
FILTERHOOK
FSD_UnhookVolume