private RopOpenFolderRequest OpenFolderRequest(ulong folderId)
{
RopOpenFolderRequest openFolderRequest;
openFolderRequest.RopId = (byte)RopId.RopOpenFolder;
openFolderRequest.LogonId = ConstValues.LogonId;
// Set InputHandleIndex to 0x00, which specifies the location in the Server object handle table
// where the handle for the input server object is stored.
openFolderRequest.InputHandleIndex = 0;
// Set OutputHandleIndex to 0x01, which specifies the location in the Server object handle table where the handle,
// for the output server object will be stored.
openFolderRequest.OutputHandleIndex = 1;
openFolderRequest.FolderId = folderId;
openFolderRequest.OpenModeFlags = (byte)FolderOpenModeFlags.None;
return openFolderRequest;
}