I will be working for the new october release and get direct sound and input working.
Please bear in mind that this is still work in progress and some things are still missing and as I go along I sometimes see missing constants or enumerations and I put them in if you have somthing missing please email me or pm me whats missing and I will put it in.
I've also started a tutorial series using these includes on how to use directx in general

look here: viewtopic.php?p=106883#106883
to install download the august 2005 sdk for directx9c and copy the .lib files from the lib\x86 folder into purebasic purelibaries\windows\libaries folder
then you can put the includes into somewhere your sources can get to and include.
OLD VERSION
DirectX_For_PB_Includes.zip

also note that you have to either call InitD3D9() and/or InitD3D9X() to start using the api