handleStart
Performs any custom initialization associated with starting the device service.
Declaration
virtual bool handleStart(IOService *provider);Parameters
- provider:
The
IOServiceprovider for this object.
Return Value
true if initialization was successful, or false if it wasn’t.
Discussion
When defining a custom service, override this method and use it to perform any custom initialization. For example, you might allocate memory for your service’s instance variables and store a reference to the provider object for later use. Always call the super implementation of this method at some point.
Don’t call this method yourself. The Start method calls it when starting up the service.