3.4.5.2.34.5 IVdsVolumeMF::QueryReparsePoints (Opnum 7)

The QueryReparsePoints method returns all reparse points for the current volume.

 HRESULT QueryReparsePoints(
   [out, size_is(,*plNumberOfReparsePointProps)] 
     VDS_REPARSE_POINT_PROP** ppReparsePointProps,
   [out] long* plNumberOfReparsePointProps
 );

ppReparsePointProps: A pointer to an array of VDS_REPARSE_POINT_PROP structures that, if the operation is successfully completed, receives the array of reparse point properties.

plNumberOfReparsePointProps: A pointer to a variable that, if the operation is successfully completed, receives the total number of elements returned in ppReparsePointPorps.

Return Values: The method MUST return zero or a non-error HRESULT (as specified in [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service Remote Protocol, see section 2.2.3.

When the server receives this message, it MUST validate the following parameters:

  • Verify that ppReparsePointProps is not NULL.

  • Verify that plNumberOfReparsePointProps is not NULL.

The server MUST point ppReparsePointProps to an array of VDS_REPARSE_POINT_PROP structures that contain information about each reparse point on the volume, point plNumberOfReparsePointProps to the size of the array, and return an HRESULT indicating failure or success.