You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
540 B
23 lines
540 B
#if !defined(BRIDGECP__BridgeCP_h__INCLUDED)
|
|
#define BRIDGECP__BridgeCP_h__INCLUDED
|
|
#pragma once
|
|
|
|
typedef UINT (CALLBACK * EventProc)(EventMsg * pMsg);
|
|
typedef void (CALLBACK * MethodProc)(MethodMsg * pMsg);
|
|
|
|
struct BridgeData
|
|
{
|
|
EventProc pfnEvent;
|
|
MethodProc pfnMethod;
|
|
};
|
|
|
|
BridgeData * GetBridgeData();
|
|
|
|
//------------------------------------------------------------------------------
|
|
inline void SetError(HRESULT hr)
|
|
{
|
|
SetLastError((DWORD) hr);
|
|
}
|
|
|
|
|
|
#endif // BRIDGECP__BridgeCP_h__INCLUDED
|