Contents

publishResource(const char *, OSObject *)

Uses the resource service to publish a property.

Declaration

static void publishResource(
 const char *key,
 OSObject *value = 0 );

Parameters

  • key:

    A C string key that globally identifies the object.

  • The:

    object to be published.

Overview

The resource service uses IOService object's matching and notification to allow objects to be published and found by any I/O Kit client by a global name. publishResource makes an object available to anyone waiting for it or looking for it in the future.

See Also

Miscellaneous