DGS Driver
Application Program Interface
2-87
Example
The following code example declares DGS_PRMS as a DGS_Params
structure:
#include <dgs.h>
DGS_Params DGS_PRMS {
NULL, /* optional create function */
NULL, /* optional delete function */
u32tou8, /* required transform function */
0, /* optional argument */
4, /* numerator */
1 /* denominator */
}
By typing _DGS_PRMS for the Parameters property of a device, the
values above are used as the parameters for this device.
See Also