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.
|
|
#include "stdafx.h"
#include "afxcview.h"
#include "wab.h"
class CWAB { public: CWAB(CString * pszFileName); ~CWAB(); HRESULT LoadWABContents(CListCtrl * pListView); void ClearWABLVContents(CListCtrl * pListView);
void LoadPropTags(CListBox * pList); void SetPropString(CEdit * pEdit, ULONG ulPropTag);
void ShowSelectedItemDetails(HWND hWndParent); HRESULT ShowNewEntryDialog(HWND hWndParent); HRESULT DeleteEntry();
void GetSelectedItemPropArray();
BOOL GetStringPropVal(HWND hWnd, ULONG ulPropTag, LPTSTR sz, ULONG cbsz); BOOL SetSingleStringProp(HWND hWnd, ULONG ulPropTag, LPTSTR sz);
void SetSelection(CListCtrl * pListView); void ShowAddressBook(HWND hWnd);
private: BOOL m_bInitialized; HINSTANCE m_hinstWAB; LPWABOPEN m_lpfnWABOpen; LPADRBOOK m_lpAdrBook; LPWABOBJECT m_lpWABObject; HWND m_hWndModelessWABWindow; // Cache Proparray of currently selected item in the list view
LPSPropValue m_lpPropArray; ULONG m_ulcValues; // Cache entry id of currently selected item in the listview
SBinary m_SB;
void FreeProws(LPSRowSet prows); HRESULT HrGetWABTemplateID(ULONG ulObjectType, ULONG * lpcbEID, LPENTRYID * lppEID);
};
|