Edit

Share via


CMBufferCompare Delegate

Definition

Delegate signature to compare two CoreFoundation objects, used to sort objects in a CMBufferQueue.

public delegate int CMBufferCompare(INativeObject first, INativeObject second);
type CMBufferCompare = delegate of INativeObject * INativeObject -> int

Parameters

first
INativeObject

The first object to compare.

second
INativeObject

The second object to compare.

Return Value

Zero for the same object, -1 for first being sma

Remarks

The objects passed are the same ones that have been added to the CMBufferQueue object, it wont surface arbitrary objects.

Applies to