VirtualBox

Changeset 27685 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 24, 2010 7:27:23 PM (15 years ago)
Author:
vboxsync
Message:

Main/Machine: add stub for method to read VM log file.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r27680 r27685  
    47144714}
    47154715
     4716STDMETHODIMP Machine::ReadLog(ULONG /*aIdx*/, ULONG64 /*aOffset*/, ULONG64 /*aSize*/, ComSafeArrayOut(BYTE, aData))
     4717{
     4718    CheckComArgExpr(aData, !ComSafeArrayOutIsNull(aData));
     4719
     4720    ReturnComNotImplemented();
     4721}
     4722
     4723
    47164724// public methods for internal purposes
    47174725/////////////////////////////////////////////////////////////////////////////
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r27677 r27685  
    42704270  <interface
    42714271     name="IMachine" extends="$unknown"
    4272      uuid="254f7fd0-a99b-4ea9-992f-794624e67882"
     4272     uuid="07862b34-c068-4667-be7d-1d722f496f20"
    42734273     wsmap="managed"
    42744274     >
     
    61326132      </param>
    61336133    </method>
    6134 </interface>
     6134
     6135    <method name="readLog">
     6136      <desc>
     6137        Reads the VM log file. The chunk size is limited, so even if you
     6138        ask for a big piece there might be less data returned.
     6139      </desc>
     6140      <param name="idx" type="unsigned long" dir="in">
     6141        <desc>
     6142          Which log file to read. 0=current log file.
     6143        </desc>
     6144      </param>
     6145      <param name="offset" type="unsigned long long" dir="in">
     6146        <desc>
     6147          Offset in the log file.
     6148        </desc>
     6149      </param>
     6150      <param name="size" type="unsigned long long" dir="in">
     6151        <desc>
     6152          Chunk size to read in the log file.
     6153        </desc>
     6154      </param>
     6155      <param name="data" type="octet" dir="return" safearray="yes">
     6156        <desc>
     6157          Data read from the log file. A data size of 0 means end of file
     6158          if the requested chunk size was not 0.
     6159        </desc>
     6160      </param>
     6161    </method>
     6162  </interface>
    61356163
    61366164  <!--
  • trunk/src/VBox/Main/include/MachineImpl.h

    r27677 r27685  
    506506    STDMETHOD(HotUnplugCPU(ULONG aCpu));
    507507    STDMETHOD(GetCPUStatus(ULONG aCpu, BOOL *aCpuAttached));
     508    STDMETHOD(ReadLog(ULONG aIdx, ULONG64 aOffset, ULONG64 aSize, ComSafeArrayOut(BYTE, aData)));
    508509
    509510    // public methods only for internal purposes
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette