Delphi 1.0 MCI, MMSYSTEM, Low-Level Waveform Audio Services

Who can give me an example, wow I can use with Delphi 1.0 and
then mmsystem-unit to access to WAVE-Devices (recording and playing wave)
and a description about the WAV-format (for direct read and write)?

Thanks in forward!

Patrick