• Ready for review
  • AC97_RawRead

    This function is responsible for reading the codec register specified by the Offset parameter and returning it back to the calling function. The contents will be passed by referencing the Data pointer.

    short int AC97_RawRead( BYTE Offset, unsigned short int * Data ); short int RawAC97Read( BYTE Offset, unsigned short int * Data );

    Parameters

    Offset
    Offset-parameter of the codec-register.

    Data
    Pointer to the variable that receives the data read.

    Return Values

    If the function succeeds, the return value is SUCCESS.
    If the function fails, the return value is FALSE.

    Remarks

    This function does not call AC97_Lock to lock its access to the AC97-link.

    Requirements

    OS Versions: Windows CE 4.2 and later.
    Header: drvlib_app.h
    Link Library: drvlib_app.lib

    See Also

    AC97_Read, AC97_Write, AC97_Lock, AC97_Init