Microsoft DirectX 9.0

IDxDiagProvider::Initialize Method

Initializes an IDxDiagProvider object.


HRESULT Initialize(      

    DXDIAG_INIT_PARAMS *pParams );


[in] DXDIAG_INIT_PARAMS that specifies the initialization parameters.

Return Value

Returns S_OK if successful. Otherwise, returns one of the following values.

E_POINTERAn invalid pointer, usually NULL, was passed as a parameter.
E_INVALIDARGAn invalid argument was passed to the returning function.
E_OUTOFMEMORYCould not allocate enough memory to complete the operation.

© 2002 Microsoft Corporation. All rights reserved.