Changeset 86300 in vbox for trunk/include
- Timestamp:
- Sep 26, 2020 9:59:44 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140580
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/krnlmod.h
r82968 r86300 152 152 PRTKRNLMODINFO phKrnlModInfoRef); 153 153 154 /** 155 * Tries to load a kernel module by the given name. 156 * 157 * @returns IPRT status code. 158 * @retval VERR_NOT_SUPPORTED if not supported by or implemented for the platform. 159 * @param pszName The name of the kernel module. This is highly platform 160 * dependent. 161 * 162 * @note On macOS for example the name is the bundle ID. 163 */ 164 RTDECL(int) RTKrnlModLoadByName(const char *pszName); 165 166 /** 167 * Tries to load a kernel module by the given file path. 168 * 169 * @returns IPRT status code. 170 * @retval VERR_NOT_SUPPORTED if not supported by or implemented for the platform. 171 * @param pszPath The path of the kernel module. 172 */ 173 RTDECL(int) RTKrnlModLoadByPath(const char *pszPath); 174 175 /** 176 * Tries to unload a kernel module by the given name. 177 * 178 * @returns IPRT status code. 179 * @param pszName The name of the kernel module. This is highly platform 180 * dependent and should be queried with RTKrnlModInfoGetName() 181 * when checking whether the module was actually loaded. 182 * 183 * @note On macOS for example the name is the bundle ID. 184 */ 185 RTDECL(int) RTKrnlModUnloadByName(const char *pszName); 186 154 187 /** @} */ 155 188 -
trunk/include/iprt/mangling.h
r86296 r86300 1226 1226 # define RTKrnlModInfoRetain RT_MANGLER(RTKrnlModInfoRetain) 1227 1227 # define RTKrnlModInfoRelease RT_MANGLER(RTKrnlModInfoRelease) 1228 # define RTKrnlModLoadByName RT_MANGLER(RTKrnlModLoadByName) 1229 # define RTKrnlModLoadByPath RT_MANGLER(RTKrnlModLoadByPath) 1228 1230 # define RTKrnlModLoadedGetCount RT_MANGLER(RTKrnlModLoadedGetCount) 1229 1231 # define RTKrnlModLoadedQueryInfo RT_MANGLER(RTKrnlModLoadedQueryInfo) 1230 1232 # define RTKrnlModLoadedQueryInfoAll RT_MANGLER(RTKrnlModLoadedQueryInfoAll) 1231 1233 # define RTKrnlModQueryLoaded RT_MANGLER(RTKrnlModQueryLoaded) 1234 # define RTKrnlModUnloadByName RT_MANGLER(RTKrnlModUnloadByName) 1232 1235 # define RTLatin1CalcUtf16Len RT_MANGLER(RTLatin1CalcUtf16Len) 1233 1236 # define RTLatin1CalcUtf16LenEx RT_MANGLER(RTLatin1CalcUtf16LenEx)
Note:
See TracChangeset
for help on using the changeset viewer.