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.
|
|
// Copyright (c) 1997-1999 Microsoft Corporation
#ifndef _NSPICKER_H_
#define _NSPICKER_H_
#pragma once
#include "resource.h"
#include "sshWbemHelpers.h"
//-----------------------------------------------------------------------------
class CNSPicker : public CUIHelpers { private: // Handler prototypes:
LRESULT OnInit(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled); LRESULT OnContextHelp(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled); LRESULT OnSelChanged(int idCtrl, LPNMHDR pnmh, BOOL& bHandled); LRESULT OnCommand(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
CWbemServices m_WbemService; HTREEITEM m_hSelectedItem;
public: CNSPicker(CWbemServices &root); ~CNSPicker(void);
int DoModal(HWND hDlg); BOOL CALLBACK DlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
TCHAR m_path[MAX_PATH]; };
BOOL CALLBACK StaticPickerDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
#endif _NSPICKER_H_
|