OSKextRequestResourceCallback
Invoked to provide results for a kext resource request.
Declaration
typedef void (*OSKextRequestResourceCallback)(OSKextRequestTag requestTag, OSReturn result, const void *resourceData, uint32_t resourceDataLength, void *context);Parameters
- requestTag:
The tag of the request that the callback pertains to.
- result:
The result of the request:
kOSReturnSuccessif the request was fulfilled;kOSKextReturnTimeoutif the request has timed out;kOSKextReturnStoppingif the kext containing the callback address for the kext is being unloaded; or other values on error. - resourceData:
A pointer to the requested resource data. Owned by the system; the kext should make a copy if it needs to keep the data past the callback.
- resourceDataLength:
The length of
resourceData. - context:
The context pointer originally passed to 1508294 Oskextrequestresource.