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.

87 lines
1.7 KiB

  1. remove this file; no one is using it
  2. typedef struct _comp_info_4
  3. {
  4. WCHAR szOwner[MAX_PATH];
  5. WCHAR szOS[MAX_PATH];
  6. WCHAR szOSVersion[MAX_PATH];
  7. WCHAR szDivision[MAX_PATH];
  8. WCHAR szProcessor[MAX_PATH];
  9. WCHAR szProcessorCount[MAX_PATH];
  10. }COMP_INFO_4, *PCOMP_INFO_4, *LPCOMP_INFO_4;
  11. class CLDAPComputer : INHERIT_TRACKING,
  12. public IADsComputer,
  13. public IADsComputerOperations,
  14. public IADsContainer
  15. {
  16. public:
  17. /* IUnknown methods */
  18. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  19. DECLARE_STD_REFCOUNTING
  20. DECLARE_IDispatch_METHODS
  21. DECLARE_IADs_METHODS
  22. DECLARE_IADsContainer_METHODS
  23. DECLARE_IADsComputer_METHODS
  24. DECLARE_IADsComputerOperations_METHODS
  25. CLDAPComputer::CLDAPComputer();
  26. CLDAPComputer::~CLDAPComputer();
  27. static
  28. HRESULT
  29. CLDAPComputer::CreateComputer(
  30. IADs *pADs,
  31. REFIID riid,
  32. void **ppvObj
  33. );
  34. #if 0
  35. static
  36. HRESULT
  37. CLDAPComputer::CreateComputer(
  38. BSTR Parent,
  39. BSTR DomainName,
  40. BSTR ComputerName,
  41. DWORD dwObjectState,
  42. REFIID riid,
  43. void **ppvObj
  44. );
  45. #endif
  46. static
  47. HRESULT
  48. CLDAPComputer::AllocateComputerObject(
  49. IADs *pADs,
  50. CLDAPComputer ** ppComputer);
  51. #if 0
  52. STDMETHOD(GetInfo)(THIS_ DWORD dwApiLevel, BOOL fExplicit) ;
  53. HRESULT
  54. CLDAPComputer::UnMarshall_Level4(
  55. BOOL fExplicit,
  56. LPCOMP_INFO_4 pCompInfo4
  57. );
  58. #endif
  59. protected:
  60. // BSTR _DomainName;
  61. IADs FAR * _pADs;
  62. IADsContainer FAR * _pADsContainer;
  63. CAggregateeDispMgr FAR * _pDispMgr;
  64. };