Wave form(編號:4829)

how to using the api "waveinaddbuffer"
& how to display a wave form