WIZARD.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- /*==========================================================================
- *
- * Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
- *
- * File: wizard.h
- * Content: user input routines include file
- *
- *
- ***************************************************************************/
- #define IDIRECTPLAY2_OR_GREATER
- #include <commctrl.h>
- #include <dplay.h>
- #include "duel.h"
- // put this structure in the tree control
- // the guid is the session guid, the refresh is used
- // to detect when sessions go away
- typedef struct _TREEDATA
- {
- GUID guid;
- DWORD dwRefresh;
- } TREEDATA,*LPTREEDATA;
- void SetupFonts(HDC hDC);
- void CleanupFonts(void);
- LONG RegSet(LPCTSTR lptszName, CONST BYTE * lpData, DWORD dwSize);
- LONG RegSetA(LPCTSTR lptszName, CONST BYTE * lpData, DWORD dwSize);
- LONG RegGet(LPCTSTR lptszName, LPBYTE lpData, LPDWORD lpdwDataSize);
- DWORD WINAPI DoWizard(LPVOID pv);
- BOOL CALLBACK DlgProcChooseProvider(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
- BOOL FAR PASCAL DPEnumConnectionsCallback( LPCGUID lpguidSP, LPVOID lpConnection, DWORD dwSize,
- LPCDPNAME lpName, DWORD dwFlags, LPVOID lpContext);
- BOOL WINAPI EnumSession(LPCDPSESSIONDESC2 lpDPSessionDesc, LPDWORD lpdwTimeOut,
- DWORD dwFlags, LPVOID pContext);
- BOOL CALLBACK DlgProcGameSetup (HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
- BOOL WINAPI EnumPlayer(DPID pidID, DWORD dwPlayerType, LPCDPNAME lpName,
- DWORD dwFlags, LPVOID lpContext);
- BOOL CALLBACK DlgProcJoinSession (HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
- BOOL CALLBACK DlgProcHostSession (HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
- BOOL InitTreeViewImageLists(HWND hwndTV);
- HTREEITEM AddItemToTree(HWND hwndTV, LPTSTR lpszItem, DWORD dwData, int nLevel);
- void ReleaseSessionData(HWND hWndCtl);
- void ReleaseSPData(void);