public SVHDX_TUNNEL_DISK_INFO_RESPONSE?GetVirtualDiskInfo(ref ulong requestId, RsvdClient rsvdClient = null) { if (rsvdClient == null) { rsvdClient = this.client; } byte[] payload = client.CreateTunnelDiskInfoRequest(); SVHDX_TUNNEL_OPERATION_HEADER? header; SVHDX_TUNNEL_DISK_INFO_RESPONSE?response; uint status = client.TunnelOperation <SVHDX_TUNNEL_DISK_INFO_RESPONSE>( false,//true for Async operation, false for non-async operation RSVD_TUNNEL_OPERATION_CODE.RSVD_TUNNEL_GET_DISK_INFO_OPERATION, requestId, payload, out header, out response); BaseTestSite.Assert.AreEqual( (uint)Smb2Status.STATUS_SUCCESS, status, "Ioctl should succeed, actual status: {0}", GetStatus(status)); VerifyTunnelOperationHeader(header.Value, RSVD_TUNNEL_OPERATION_CODE.RSVD_TUNNEL_GET_DISK_INFO_OPERATION, (uint)RsvdStatus.STATUS_SVHDX_SUCCESS, requestId++); return(response); }