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.

44 lines
1.7 KiB

  1. /****************************************************************************/
  2. /* */
  3. /* NCCGLBL.HPP */
  4. /* */
  5. /* Global header for NCC. */
  6. /* */
  7. /* Copyright Data Connection Ltd. 1995 */
  8. /* */
  9. /****************************************************************************/
  10. /* Changes: */
  11. /* */
  12. /* 11Sep95 NFC Created. */
  13. /* */
  14. /****************************************************************************/
  15. #ifndef __NCCGLBL_H_
  16. #define __NCCGLBL_H_
  17. #include "sap.h" // for NCUIMSG_BASE
  18. enum
  19. {
  20. NCMSG_QUERY_REMOTE_FAILURE = NCMSG_BASE + 0,
  21. NCMSG_FIRST_ROSTER_RECVD = NCMSG_BASE + 1,
  22. };
  23. #ifdef _DEBUG
  24. extern BOOL g_fInterfaceBreak;
  25. __inline void InterfaceEntry(void) { if (g_fInterfaceBreak) DebugBreak(); }
  26. #else
  27. #define InterfaceEntry()
  28. #endif // _DEBUG
  29. HRESULT GetGCCRCDetails(GCCError gccRC);
  30. HRESULT GetGCCResultDetails(GCCResult gccRC);
  31. GCCResult MapRCToGCCResult(HRESULT rc);
  32. LPWSTR GetNodeName(void);
  33. #endif /* __NCCGLBL_H_ */