IDP8SimControl::SetAllParameters Method

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

IDP8SimControl::SetAllParameters Method


Modifies all of the current DP8Sim settings.

Syntax

HRESULT SetAllParameters(      
    const DP8SIM_PARAMETERS *const pdp8spSend,     const DP8SIM_PARAMETERS *const pdp8spReceive,     const DWORD dwFlags );

Parameters

pdp8spSend
[out] Pointer to a DP8SIM_PARAMETERS structure containing the send parameters to set.
pdp8spReceive
[out] Pointer to a DP8SIM_PARAMETERS structure containing the receive parameters to set.
dwFlags
[in] Reserved. Must be 0.

Return Value

Returns DP8SIM_OK if successful, or one of the following error values.

DP8SIMERR_INVALIDFLAGS The flags passed to this method are invalid.
DP8SIMERR_INVALIDOBJECT The DP8Sim control object specified is invalid.
DP8SIMERR_INVALIDPARAM One or more of the parameters passed to the method are invalid.
DP8SIMERR_INVALIDPOINTER A pointer specified as a parameter is invalid.
DP8SIMERR_NOTINITIALIZED The DP8Sim control object has not been initialized.



© 2003 Microsoft Corporation. All rights reserved.