2025-04-27 07:49:33 -04:00

66 lines
2.2 KiB
C++

#if !defined(AFX_NSENTRY_H__7BC8CA07_53E3_11D2_96B9_00C04FD9B15B__INCLUDED_)
#define AFX_NSENTRY_H__7BC8CA07_53E3_11D2_96B9_00C04FD9B15B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CNSEntry wrapper class
class CSecurity;
class CNSEntry : public CWnd
{
protected:
DECLARE_DYNCREATE(CNSEntry)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xc3db0bd3, 0x7ec7, 0x11d0, { 0x96, 0xb, 0x0, 0xc0, 0x4f, 0xd9, 0xb1, 0x5b } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
CString GetNameSpace();
void SetNameSpace(LPCTSTR);
CSecurity *m_pcsecurityLoginControl;
// Operations
public:
//{{AFX_MSG(CNSEntry)
afx_msg void OnGetIWbemServices(LPCTSTR lpctstrNamespace, VARIANT FAR* pvarUpdatePointer, VARIANT FAR* pvarServices, VARIANT FAR* pvarSC, VARIANT FAR* pvarUserCancel) ;
//}}AFX_MSG
DECLARE_EVENTSINK_MAP()
long OpenNamespace(LPCTSTR bstrNamespace, long longNoFireEvent);
void SetNamespaceText(LPCTSTR lpctstrNamespace);
CString GetNamespaceText();
long IsTextValid();
void ClearOnLoseFocus(long lClearOnLoseFocus);
void ClearNamespaceText(LPCTSTR lpctstrNamespace);
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NSENTRY_H__7BC8CA07_53E3_11D2_96B9_00C04FD9B15B__INCLUDED_)