Changeset 34244 in vbox for trunk/include/VBox/ExtPack
- Timestamp:
- Nov 22, 2010 2:31:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/ExtPack/ExtPack.h
r34086 r34244 42 42 VBOXEXTPACK_IF_CS(IMachine); 43 43 VBOXEXTPACK_IF_CS(IVirtualBox); 44 45 /** 46 * Module kind for use with VBOXEXTPACKHLP::pfnFindModule. 47 */ 48 typedef enum VBOXEXTPACKMODKIND 49 { 50 /** Zero is invalid as alwasy. */ 51 VBOXEXTPACKMODKIND_INVALID = 0, 52 /** Raw-mode context module. */ 53 VBOXEXTPACKMODKIND_RC, 54 /** Ring-0 context module. */ 55 VBOXEXTPACKMODKIND_R0, 56 /** Ring-3 context module. */ 57 VBOXEXTPACKMODKIND_R3, 58 /** End of the valid values (exclusive). */ 59 VBOXEXTPACKMODKIND_END, 60 /** The usual 32-bit type hack. */ 61 VBOXEXTPACKMODKIND_32BIT_HACK = 0x7fffffff 62 } VBOXEXTPACKMODKIND; 44 63 45 64 … … 74 93 * @param pszExt The extension. If NULL the default ring-3 75 94 * library extension will be used. 95 * @param enmKind The kind of module to locate. 76 96 * @param pszFound Where to return the path to the module on 77 97 * success. … … 80 100 */ 81 101 DECLR3CALLBACKMEMBER(int, pfnFindModule,(PCVBOXEXTPACKHLP pHlp, const char *pszName, const char *pszExt, 102 VBOXEXTPACKMODKIND enmKind, 82 103 char *pszFound, size_t cbFound, bool *pfNative)); 83 104 … … 97 118 */ 98 119 DECLR3CALLBACKMEMBER(int, pfnGetFilePath,(PCVBOXEXTPACKHLP pHlp, const char *pszFilename, char *pszPath, size_t cbPath)); 99 100 /**101 * Registers a VRDE library (IVirtualBox::VRDERegisterLibrary wrapper).102 *103 * @returns VBox status code.104 * @param pHlp Pointer to this helper structure.105 * @param pszName The module base name. This will be found using106 * the pfnFindModule algorithm.107 * @param fSetDefault Whether to make it default if no other default108 * is set.109 *110 * @remarks This helper should be called from pfnVirtualBoxReady as it may111 * cause trouble when called from pfnInstalled.112 */113 DECLR3CALLBACKMEMBER(int, pfnRegisterVrde,(PCVBOXEXTPACKHLP pHlp, const char *pszName, bool fSetDefault));114 120 115 121 /** End of structure marker (VBOXEXTPACKHLP_VERSION). */
Note:
See TracChangeset
for help on using the changeset viewer.