The AddAccessPath method adds an access path to the current volume.<129>

 HRESULT AddAccessPath(
   [in, max_is(MAX_PATH - 1), string] 
     WCHAR* pwszPath
 );

pwszPath: A null-terminated Unicode string that indicates the access path. A trailing backslash MUST be included if the access path is a drive letter (for example, "F:\").

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 parameter:

The server MUST then perform the following in sequence:<130>