Source code of Windows XP (NT5)
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.

57 lines
1.6 KiB

  1. /*---------------------------------------------------------------------------
  2. File: ...
  3. Comments: ...
  4. (c) Copyright 1999, Mission Critical Software, Inc., All Rights Reserved
  5. Proprietary and confidential to Mission Critical Software, Inc.
  6. REVISION LOG ENTRY
  7. Revision By: Christy Boles
  8. Revised on 03/18/99 11:13:23
  9. ---------------------------------------------------------------------------
  10. */
  11. #include <mapix.h>
  12. #import "\bin\McsVarSetMin.tlb" no_namespace, named_guids
  13. typedef void (STDAPICALLTYPE FREEPADRLIST) (LPADRLIST lpAdrlist);
  14. typedef FREEPADRLIST FAR * LPFREEPADRLIST;
  15. typedef void (STDAPICALLTYPE FREEPROWS) (LPSRowSet lpRows);
  16. typedef FREEPROWS FAR * LPFREEPROWS;
  17. typedef SCODE (STDAPICALLTYPE SCDUPPROPSET)( int cprop,
  18. LPSPropValue rgprop,LPALLOCATEBUFFER lpAllocateBuffer,LPSPropValue FAR * prgprop);
  19. typedef SCDUPPROPSET FAR * LPSCDUPPROPSET;
  20. typedef HRESULT (STDAPICALLTYPE HRQUERYALLROWS)(LPMAPITABLE lpTable,
  21. LPSPropTagArray lpPropTags,
  22. LPSRestriction lpRestriction,
  23. LPSSortOrderSet lpSortOrderSet,
  24. LONG crowsMax,
  25. LPSRowSet FAR *lppRows);
  26. typedef HRQUERYALLROWS FAR * LPHRQUERYALLROWS;
  27. typedef ULONG (STDAPICALLTYPE ULRELEASE)(LPVOID lpunk);
  28. typedef ULRELEASE FAR * LPULRELEASE;
  29. BOOL LoadMAPI(IVarSet * pVarSet);
  30. void ReleaseMAPI();
  31. HRESULT ListProfiles(IVarSet * pVarSet);
  32. HRESULT ProfileGetServer(IVarSet * pVarSet,WCHAR const * profileW, WCHAR * computerName);
  33. HRESULT ListContainers(WCHAR * profileName,IVarSet * pVarSet);