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.

40 lines
1.1 KiB

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. #include "stdafx.h"
  5. #include "certwiz.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CCertWiz
  8. IMPLEMENT_DYNCREATE(CCertWiz, CWnd)
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CCertWiz properties
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CCertWiz operations
  13. void CCertWiz::SetMachineName(LPCTSTR MachineName)
  14. {
  15. static BYTE parms[] =
  16. VTS_BSTR;
  17. InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  18. MachineName);
  19. }
  20. void CCertWiz::SetServerInstance(LPCTSTR InstanceName)
  21. {
  22. static BYTE parms[] =
  23. VTS_BSTR;
  24. InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  25. InstanceName);
  26. }
  27. void CCertWiz::DoClick()
  28. {
  29. InvokeHelper(DISPID_DOCLICK, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  30. }