IDP8SimControl::Close Method

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

IDP8SimControl::Close Method


Closes the open connection to a session. This method must be called on any object successfully initialized with IDP8SimControl::Initialize.

Syntax

HRESULT Close(      
    const DWORD dwFlags );

Parameters

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_NOTINITIALIZED The DP8Sim control object has not been initialized.

Remarks

This method will cancel any operations still outstanding.



© 2003 Microsoft Corporation. All rights reserved.