This is an example of how to use the SysIOMapWriteByID function along with the IOMapWriteByIDType structure.