The SDK contains the following samples:
Follow the instructions for sample code contained in the license agreements within: (SDK root)\Documentation\License Agreements
DirectX Graphics SamplesDirectInput SamplesDirectSound Samples