13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

•Verify that plNumberOfAccessPaths is not NULL.If parameter validation fails, the server MUST fail the operation immediately, returning a vendorspecificerror as its response to the client.The server MUST point pwszPathArray to an array of strings that contains the access paths to thevolume, point plNumberOfAccessPaths to the size of the array, and return an HRESULT indicatingfailure or success.3.4.5.2.32.5 IVdsVolumeMF::QueryReparsePoints (Opnum 7)The QueryReparsePoints method returns all reparse points for the current volume.HRESULT QueryReparsePoints([out, size_is(,*plNumberOfReparsePointProps)]<strong>VDS</strong>_REPARSE_POINT_PROP** ppReparsePointProps,[out] long* plNumberOfReparsePointProps);ppReparsePointProps: A pointer to an array of <strong>VDS</strong>_REPARSE_POINT_PROP structuresthat, if the operation is successfully completed, receives the array of reparse point properties.plNumberOfReparsePointProps: A pointer to a variable that, if the operation is successfullycompleted, receives the total number of elements returned in ppReparsePointPorps.Return Values: The method MUST return zero or a non-error HRESULT (as specified in [<strong>MS</strong>-ERREF]) to indicate success, or return an implementation-specific nonzero error code toindicate failure. For the HRESULT values predefined by the <strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> Remote<strong>Protocol</strong>, 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 <strong>VDS</strong>_REPARSE_POINT_PROPstructures that contain information about each reparse point on the volume, pointplNumberOfReparsePointProps to the size of the array, and return an HRESULT indicating failureor success.3.4.5.2.32.6 IVdsVolumeMF::DeleteAccessPath (Opnum 8)The DeleteAccessPath method removes the access path from the current volume.HRESULT DeleteAccessPath([in, max_is(MAX_PATH - 1), string]WCHAR* pwszPath,[in] long bForce);pwszPath: A Unicode string indicating the access path, for example,"C:\myfolder\mydocuments".[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 2011252 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!