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.

47 lines
1.7 KiB

  1. //****************************************************************************
  2. //
  3. // Module: ULS.DLL
  4. // File: callback.h
  5. // Content: This file contains the local asynchronous response
  6. // definition.
  7. // History:
  8. // Wed 17-Apr-1996 11:18:47 -by- Viroon Touranachun [viroont]
  9. //
  10. // Copyright (c) Microsoft Corporation 1996-1997
  11. //
  12. //****************************************************************************
  13. #ifndef _CALLBACK_H_
  14. #define _CALLBACK_H_
  15. #define WM_ILS_LOCAL_ASYNC_RES (WM_ILS_ASYNC_RES+0x1000)
  16. #define WM_ILS_LOCAL_USER_INFO_CHANGED (WM_ILS_LOCAL_ASYNC_RES+0) // 0 0
  17. #define WM_ILS_LOCAL_SET_USER_INFO (WM_ILS_LOCAL_ASYNC_RES+1) // uReqID hResult
  18. #define WM_ILS_LOCAL_REGISTER_PROTOCOL (WM_ILS_LOCAL_ASYNC_RES+6) // uMsgID hResult
  19. #define WM_ILS_LOCAL_UNREGISTER_PROTOCOL (WM_ILS_LOCAL_ASYNC_RES+7) // uMsgID hResult
  20. #define WM_ILS_LOCAL_REGISTER (WM_ILS_LOCAL_ASYNC_RES+8) // uMsgID hResult
  21. #define WM_ILS_LOCAL_UNREGISTER (WM_ILS_LOCAL_ASYNC_RES+9) // uMsgID hResult
  22. //****************************************************************************
  23. // Private type definition
  24. //****************************************************************************
  25. //
  26. typedef struct tagSimpleResultInfo {
  27. ULONG uReqID;
  28. HRESULT hResult;
  29. } SRINFO, *PSRINFO;
  30. typedef struct tagObjectResultInfo {
  31. ULONG uReqID;
  32. HRESULT hResult;
  33. PVOID pv;
  34. } OBJRINFO, *POBJRINFO;
  35. typedef struct tagEnumResultInfo {
  36. ULONG uReqID;
  37. HRESULT hResult;
  38. ULONG cItems;
  39. PVOID pv;
  40. } ENUMRINFO, *PENUMRINFO;
  41. #endif //_CALLBACK_H_