Leaked source code of windows server 2003
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

  1. #if !defined(BRIDGECP__BridgeCP_h__INCLUDED)
  2. #define BRIDGECP__BridgeCP_h__INCLUDED
  3. #pragma once
  4. typedef UINT (CALLBACK * EventProc)(EventMsg * pMsg);
  5. typedef void (CALLBACK * MethodProc)(MethodMsg * pMsg);
  6. struct BridgeData
  7. {
  8. EventProc pfnEvent;
  9. MethodProc pfnMethod;
  10. };
  11. BridgeData * GetBridgeData();
  12. //------------------------------------------------------------------------------
  13. inline void SetError(HRESULT hr)
  14. {
  15. SetLastError((DWORD) hr);
  16. }
  17. #endif // BRIDGECP__BridgeCP_h__INCLUDED