Windows2003-3790/windows/advcore/duser/bridgecp/bridgecp.h
2020-09-30 16:53:55 +02:00

24 lines
540 B
C

#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