Contents

Create

Allocates and initializes an instance of the custom property class.

Declaration

static OSSharedPtr<IOUserAudioCustomProperty> Create(IOUserAudioDriver *in_audio_driver, IOUserAudioObjectPropertyAddress in_prop_addr, bool in_is_property_settable, IOUserAudioCustomPropertyDataType in_qualifier_data_type, IOUserAudioCustomPropertyDataType in_data_type);

Parameters

Return Value

A poiner to an IOUserAudioCustomProperty, if allocation and initialization succeeded.

Discussion

If you subclass IOUserAudioCustomProperty to override this class’ behavior, don’t use Create to allocate and initialize the custom subclass.

See Also

Creating a Custom Property