Instance Property

getProtocolInterface

Creates a plug-in object for a protocol driver for the FireWire bus the AVC unit is connected to and returns an interface to it.

Declaration

void *(*getProtocolInterface)(void *self, REFIID pluginType, REFIID iid);

Parameters

self

Pointer to IOFireWireAVCLibUnitInterface.

pluginType

An ID number, of type CFUUIDBytes (see CFUUID.h), identifying the type of plug-in service to be returned for the created protocol object.

iid

An ID number, of type CFUUIDBytes (see CFUUID.h), identifying the type of interface to be returned for the created protocol device object.

Return Value

Returns a COM-style interface pointer. Returns 0 upon failure.

Discussion

This function is only available if the interface version is > 1 (macOS 10.2.0 or later?).