Retrieving low level ranges
Marcel Sondaar
mglgetrange.c | Retrieving low level ranges |
Functions | |
mglGetLastRangeEntry | Retrieves a range segment from an graphics component |
mglGetEngineRange | Gets the valid range of values from a engine property. |
mglGetConnectorRange | Gets the valid range of values from a connector property. |
void mglGetLastRangeEntry( int index, int * first, int * last, int * modulus )
Retrieves a range segment from an graphics component
index | The segment to read |
first | Pointer to an integer to hold the first valid value of the segment. |
last | Pointer to an integer to hold the last valid value of the segment. |
modulus | Pointer to an integer to hold the increment between successive values. |
Arguments may not be null. If the index is not valid, the result is undefined. Drivers will indicate unsupported properties by returning a modulus of zero.
int mglGetEngineRange( int index, unsigned int property )
Gets the valid range of values from a engine property.
index | The engine to access |
property | The property of the engine to read. Often an element of UDI_GFX_PROP. |
return | The amount of range segments returned by the driver |
int mglGetConnectorRange( int index, unsigned int property )
Gets the valid range of values from a connector property.
index | The connector to access |
property | The property of the connector to read. Often an element of UDI_GFX_PROP. |
return | The amount of range segments returned by the driver |
Retrieves a range segment from an graphics component
void mglGetLastRangeEntry( int index, int * first, int * last, int * modulus )
Gets the valid range of values from a engine property.
int mglGetEngineRange( int index, unsigned int property )
Gets the valid range of values from a connector property.
int mglGetConnectorRange( int index, unsigned int property )