procedure Lock( ReadCursor, ReadBytes: Longint; var Audio1Ptr: Pointer; var AudioBytes1: DWord; var Audio2Ptr: Pointer; var AudioBytes2: DWord; Flags: Longint );
Calls the interface Lock method to lock the buffer. See IDirectSoundCaptureBuffer::Lock for more information.