That HRESULT means: "E_INVALIDARG - An invalid parameter was passed to the returning function", but beyond that I cannot help. (You can use the DXErr9 unit to get names/descriptions of errors.)