mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Clarify return value from CDirectPlayPeer::directPlayMessageHandler
refs #800
This commit is contained in:
committed by
Klaus Basan
parent
bec57e8369
commit
0ce38cb7d6
@@ -48,8 +48,6 @@ namespace BlackSimPlugin
|
||||
|
||||
HRESULT CDirectPlayPeer::directPlayMessageHandler(DWORD messageId, void *msgBuffer)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
|
||||
switch (messageId)
|
||||
{
|
||||
case DPN_MSGID_CREATE_PLAYER:
|
||||
@@ -162,7 +160,9 @@ namespace BlackSimPlugin
|
||||
|
||||
}
|
||||
|
||||
return hr;
|
||||
// Directx9 SDK: Unless otherwise noted, this function should return S_OK.
|
||||
// http://doc.51windows.net/Directx9_SDK/play/ref/callbacks/pfndpnmessagehandler.htm
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDirectPlayPeer::initDirectPlay()
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackSimPlugin
|
||||
namespace Fs9
|
||||
{
|
||||
//! DirectPlay peer implementation
|
||||
//! More information can be found in the DirectX9 SDK documentation
|
||||
//! http://doc.51windows.net/Directx9_SDK/?url=/Directx9_SDK/play/dplay.htm
|
||||
class CDirectPlayPeer : public BlackMisc::CContinuousWorker
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user