- Timestamp:
- Jun 15, 2020 7:33:35 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138648
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp ¶
r84822 r84837 508 508 509 509 510 /** 511 * Replies to a message from the host. 512 * 513 * @returns VBox status code. 514 * @param pCtx Guest control command context to use. 515 * @param rc Guest rc to reply. 516 */ 510 517 VBGLR3DECL(int) VbglR3GuestCtrlMsgReply(PVBGLR3GUESTCTRLCMDCTX pCtx, 511 518 int rc) … … 516 523 517 524 525 /** 526 * Replies to a message from the host, extended version. 527 * 528 * @returns VBox status code. 529 * @param pCtx Guest control command context to use. 530 * @param rc Guest rc to reply. 531 * @param uType Reply type; not used yet and must be 0. 532 * @param pvPayload Pointer to data payload to reply. Optional. 533 * @param cbPayload Size of data payload (in bytes) to reply. 534 */ 518 535 VBGLR3DECL(int) VbglR3GuestCtrlMsgReplyEx(PVBGLR3GUESTCTRLCMDCTX pCtx, 519 536 int rc, uint32_t uType, … … 688 705 * 689 706 * @return IPRT status code. 690 * @param pCtx Host context.707 * @param pCtx Guest control command context to use. 691 708 * @param fFlags Some kind of flag. Figure it out yourself. 692 ** @todo Docs!693 709 */ 694 710 VBGLR3DECL(int) VbglR3GuestCtrlSessionClose(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t fFlags) … … 706 722 707 723 724 /** 725 * Notifies a guest session. 726 * 727 * @returns VBox status code. 728 * @param pCtx Guest control command context to use. 729 * @param uType Notification type of type GUEST_SESSION_NOTIFYTYPE_XXX. 730 * @param iResult Result code (rc) to notify. 731 */ 708 732 VBGLR3DECL(int) VbglR3GuestCtrlSessionNotify(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uType, int32_t iResult) 709 733 { … … 1335 1359 1336 1360 /** 1337 * Allocates and gets host data, based on the message id.1361 * Allocates and gets host data, based on the message ID. 1338 1362 * 1339 1363 * This will block until data becomes available. 1340 1364 * 1341 1365 * @returns VBox status code. 1342 ** @todo Docs! 1366 * @param pCtx Guest control command context to use. 1367 * @param puPID Where to return the guest PID to retrieve output from on success. 1368 * @param puHandle Where to return the guest process handle to retrieve output from on success. 1369 * @param pfFlags Where to return the output flags on success. 1343 1370 */ 1344 1371 VBGLR3DECL(int) VbglR3GuestCtrlProcGetOutput(PVBGLR3GUESTCTRLCMDCTX pCtx, … … 1844 1871 1845 1872 1873 /** 1874 * Replies to a HOST_MSG_FILE_OPEN message. 1875 * 1876 * @returns VBox status code. 1877 * @param pCtx Guest control command context to use. 1878 * @param uRc Guest rc of operation (note: IPRT-style signed int). 1879 * @param uFileHandle File handle of opened file on success. 1880 */ 1846 1881 VBGLR3DECL(int) VbglR3GuestCtrlFileCbOpen(PVBGLR3GUESTCTRLCMDCTX pCtx, 1847 1882 uint32_t uRc, uint32_t uFileHandle) … … 1860 1895 1861 1896 1897 /** 1898 * Replies to a HOST_MSG_FILE_CLOSE message. 1899 * 1900 * @returns VBox status code. 1901 * @param pCtx Guest control command context to use. 1902 * @param uRc Guest rc of operation (note: IPRT-style signed int). 1903 */ 1862 1904 VBGLR3DECL(int) VbglR3GuestCtrlFileCbClose(PVBGLR3GUESTCTRLCMDCTX pCtx, 1863 1905 uint32_t uRc) … … 1875 1917 1876 1918 1919 /** 1920 * Sends an unexpected file handling error to the host. 1921 * 1922 * @returns VBox status code. 1923 * @param pCtx Guest control command context to use. 1924 * @param uRc Guest rc of operation (note: IPRT-style signed int). 1925 */ 1877 1926 VBGLR3DECL(int) VbglR3GuestCtrlFileCbError(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uRc) 1878 1927 { … … 1889 1938 1890 1939 1940 /** 1941 * Replies to a HOST_MSG_FILE_READ message. 1942 * 1943 * @returns VBox status code. 1944 * @param pCtx Guest control command context to use. 1945 * @param uRc Guest rc of operation (note: IPRT-style signed int). 1946 * @param pvData Pointer to read file data from guest on success. 1947 * @param cbData Size (in bytes) of read file data from guest on success. 1948 */ 1891 1949 VBGLR3DECL(int) VbglR3GuestCtrlFileCbRead(PVBGLR3GUESTCTRLCMDCTX pCtx, 1892 1950 uint32_t uRc, … … 1906 1964 1907 1965 1966 /** 1967 * Replies to a HOST_MSG_FILE_READ_AT message. 1968 * 1969 * @returns VBox status code. 1970 * @param pCtx Guest control command context to use. 1971 * @param uRc Guest rc of operation (note: IPRT-style signed int). 1972 * @param pvData Pointer to read file data from guest on success. 1973 * @param cbData Size (in bytes) of read file data from guest on success. 1974 * @param offNew New offset (in bytes) the guest file pointer points at on success. 1975 */ 1908 1976 VBGLR3DECL(int) VbglR3GuestCtrlFileCbReadOffset(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uRc, 1909 1977 void *pvData, uint32_t cbData, int64_t offNew) … … 1923 1991 1924 1992 1993 /** 1994 * Replies to a HOST_MSG_FILE_WRITE message. 1995 * 1996 * @returns VBox status code. 1997 * @param pCtx Guest control command context to use. 1998 * @param uRc Guest rc of operation (note: IPRT-style signed int). 1999 * @param cbWritten Size (in bytes) of file data successfully written to guest file. Can be partial. 2000 */ 1925 2001 VBGLR3DECL(int) VbglR3GuestCtrlFileCbWrite(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uRc, uint32_t cbWritten) 1926 2002 { … … 1938 2014 1939 2015 2016 /** 2017 * Replies to a HOST_MSG_FILE_WRITE_AT message. 2018 * 2019 * @returns VBox status code. 2020 * @param pCtx Guest control command context to use. 2021 * @param uRc Guest rc of operation (note: IPRT-style signed int). 2022 * @param cbWritten Size (in bytes) of file data successfully written to guest file. Can be partial. 2023 * @param offNew New offset (in bytes) the guest file pointer points at on success. 2024 */ 1940 2025 VBGLR3DECL(int) VbglR3GuestCtrlFileCbWriteOffset(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uRc, uint32_t cbWritten, int64_t offNew) 1941 2026 { … … 1954 2039 1955 2040 2041 /** 2042 * Replies to a HOST_MSG_FILE_SEEK message. 2043 * 2044 * @returns VBox status code. 2045 * @param pCtx Guest control command context to use. 2046 * @param uRc Guest rc of operation (note: IPRT-style signed int). 2047 * @param offCurrent New offset (in bytes) the guest file pointer points at on success. 2048 */ 1956 2049 VBGLR3DECL(int) VbglR3GuestCtrlFileCbSeek(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uRc, uint64_t offCurrent) 1957 2050 { … … 1969 2062 1970 2063 2064 /** 2065 * Replies to a HOST_MSG_FILE_TELL message. 2066 * 2067 * @returns VBox status code. 2068 * @param pCtx Guest control command context to use. 2069 * @param uRc Guest rc of operation (note: IPRT-style signed int). 2070 * @param offCurrent Current offset (in bytes) the guest file pointer points at on success. 2071 */ 1971 2072 VBGLR3DECL(int) VbglR3GuestCtrlFileCbTell(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uRc, uint64_t offCurrent) 1972 2073 { … … 1984 2085 1985 2086 2087 /** 2088 * Replies to a HOST_MSG_FILE_SET_SIZE message. 2089 * 2090 * @returns VBox status code. 2091 * @param pCtx Guest control command context to use. 2092 * @param uRc Guest rc of operation (note: IPRT-style signed int). 2093 * @param cbNew New file size (in bytes) of the guest file on success. 2094 */ 1986 2095 VBGLR3DECL(int) VbglR3GuestCtrlFileCbSetSize(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uRc, uint64_t cbNew) 1987 2096 { … … 2003 2112 * 2004 2113 * @returns VBox status code. 2005 ** @todo Docs! 2114 * @param pCtx Guest control command context to use. 2115 * @param uPID Guest process PID to report status for. 2116 * @param uStatus Status to report. Of type PROC_STS_XXX. 2117 * @param fFlags Additional status flags, depending on the reported status. See RTPROCSTATUS. 2118 * @param pvData Pointer to additional status data. Optional. 2119 * @param cbData Size (in bytes) of additional status data. 2006 2120 */ 2007 2121 VBGLR3DECL(int) VbglR3GuestCtrlProcCbStatus(PVBGLR3GUESTCTRLCMDCTX pCtx, … … 2027 2141 * 2028 2142 * @returns VBox status code. 2029 ** @todo Docs! 2143 * @param pCtx Guest control command context to use. 2144 * @param uPID Guest process PID to report status for. 2145 * @param uHandle Guest process handle the output belong to. 2146 * @param fFlags Additional output flags. 2147 * @param pvData Pointer to actual output data. 2148 * @param cbData Size (in bytes) of output data. 2030 2149 */ 2031 2150 VBGLR3DECL(int) VbglR3GuestCtrlProcCbOutput(PVBGLR3GUESTCTRLCMDCTX pCtx, … … 2051 2170 * 2052 2171 * @returns VBox status code. 2053 ** @todo Docs! 2172 * @param pCtx Guest control command context to use. 2173 * @param uPID Guest process PID to report status for. 2174 * @param uStatus Status to report. Of type INPUT_STS_XXX. 2175 * @param fFlags Additional input flags. 2176 * @param cbWritten Size (in bytes) of input data handled. 2054 2177 */ 2055 2178 VBGLR3DECL(int) VbglR3GuestCtrlProcCbStatusInput(PVBGLR3GUESTCTRLCMDCTX pCtx,
Note:
See TracChangeset
for help on using the changeset viewer.