dvc_get_inp_source()

Purpose

Obtains the source of input to a program

Old name

#define dvc_source dvc_get_inp_source

Syntax

int dvc_get_inp_source();

Description

The function dvc_get_inp_source() is used in conjunction with device drivers. It returns the source of the device from which the input came. This is an integer with the bit set corresponding to that set up in DFSETUP.

The DP4 Device Drivers Developers Manual has more details on this function.

Return values

Returns the bitmask of the device of the input source

See also

dvc_set_inp_mask()