Changeset 35184 in vbox for trunk/include/VBox/ExtPack
- Timestamp:
- Dec 16, 2010 2:00:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/ExtPack/ExtPack.h
r34287 r35184 185 185 * This is called in the context of the per-user service (VBoxSVC). 186 186 * 187 * @returns VBox status code. 188 * @retval VERR_EXTPACK_UNSUPPORTED_HOST_UNINSTALL if the extension pack 189 * requires some different host version or a prerequisite is 190 * missing from the host. Automatic uninstall will be attempted. 191 * Must set error info. 192 * 187 193 * @param pThis Pointer to this structure. 188 194 * @param pVirtualBox The VirtualBox interface. 189 */ 190 DECLCALLBACKMEMBER(void, pfnInstalled)(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox); 195 * @param pErrInfo Where to return extended error information. 196 */ 197 DECLCALLBACKMEMBER(int, pfnInstalled)(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox, 198 PRTERRINFO pErrInfo); 191 199 192 200 /** … … 198 206 * @param pThis Pointer to this structure. 199 207 * @param pVirtualBox The VirtualBox interface. 208 * 200 209 * @todo This is currently called holding locks making pVirtualBox 201 210 * relatively unusable. … … 319 328 * be valid and unchanged until the module is unloaded 320 329 * (i.e. use some static const data for it). 321 * @param pszErr Error message buffer for explaining any failure. 322 * @param cbErr The size of the error message buffer. 323 */ 324 typedef DECLCALLBACK(int) FNVBOXEXTPACKREGISTER(PCVBOXEXTPACKHLP pHlp, PCVBOXEXTPACKREG *ppReg, char *pszErr, size_t cbErr); 330 * @param pErrInfo Where to return extended error information. 331 */ 332 typedef DECLCALLBACK(int) FNVBOXEXTPACKREGISTER(PCVBOXEXTPACKHLP pHlp, PCVBOXEXTPACKREG *ppReg, PRTERRINFO pErrInfo); 325 333 /** Pointer to a FNVBOXEXTPACKREGISTER. */ 326 334 typedef FNVBOXEXTPACKREGISTER *PFNVBOXEXTPACKREGISTER; … … 339 347 #define VBOXEXTPACK_IS_VER_COMPAT(u32Provider, u32User) \ 340 348 ( VBOXEXTPACK_IS_MAJOR_VER_EQUAL(u32Provider, u32User) \ 341 && RT_LOWORD(u32Provider) >= RT_LOWORD(u32User) )349 && (int32_t)RT_LOWORD(u32Provider) >= (int32_t)RT_LOWORD(u32User) ) /* stupid casts to shut up gcc */ 342 350 343 351 /**
Note:
See TracChangeset
for help on using the changeset viewer.