Annotation of mstools/samples/sdktools/spy/app/spyfuncs.h, revision 1.1.1.1

1.1       root        1: 
                      2: /******************************************************************************\
                      3: *       This is a part of the Microsoft Source Code Samples. 
                      4: *       Copyright (C) 1993 Microsoft Corporation.
                      5: *       All rights reserved. 
                      6: *       This source code is only intended as a supplement to 
                      7: *       Microsoft Development Tools and/or WinHelp documentation.
                      8: *       See these sources for detailed information regarding the 
                      9: *       Microsoft samples programs.
                     10: \******************************************************************************/
                     11: 
                     12: /*****************************************************************************\
                     13: *
                     14: * Module: spyfuncs.h
                     15: *
                     16: *   External function declarations for the Windows debugging Spy SDK applet.
                     17: *
                     18: \*****************************************************************************/
                     19: 
                     20: 
                     21: //
                     22: // dialogs.c
                     23: //
                     24: 
                     25: BOOL MyDialogBox(INT idDlg, DLGPROC pfnDlgProc);
                     26: BOOL CALLBACK AboutDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
                     27: BOOL CALLBACK SelectWindowDlgProc(HWND hwnd, UINT msg, WPARAM wParam,
                     28:     LPARAM lParam);
                     29: BOOL CALLBACK OutputDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
                     30: VOID SelectFont(VOID);
                     31: BOOL CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam,
                     32:     LPARAM lParam);
                     33: 
                     34: 
                     35: //
                     36: // hook.c
                     37: //
                     38: 
                     39: BOOL CreateHookThread(VOID);
                     40: DWORD HookMain(LPVOID lpv);
                     41: LRESULT CALLBACK HookWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
                     42: BOOL SetSpyHook(BOOL fSet);
                     43: VOID SetWindowToSpyOn(HWND hwndSpyingOn);
                     44: 
                     45: #ifdef DBG
                     46: VOID DbgPrintf(LPTSTR fmt, ...);
                     47: #endif
                     48: 
                     49: 
                     50: //
                     51: // misc.c
                     52: //
                     53: 
                     54: VOID ReadRegistry(VOID);
                     55: VOID WriteRegistry(VOID);
                     56: INT Message(UINT fuStyle, LPSTR pszFormat, ...);
                     57: VOID SetSpyCaption(VOID);
                     58: 
                     59: 
                     60: //
                     61: // spy.c
                     62: //
                     63: 
                     64: INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
                     65:     LPSTR lpCmdLine, INT nCmdShow);
                     66: LRESULT CALLBACK SpyWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
                     67: 
                     68: 
                     69: //
                     70: // wm.c
                     71: //
                     72: 
                     73: VOID CalculatePrintfTabs(HFONT hfont);
                     74: VOID PrintMsg(LPMSG lpMsg);
                     75: 
                     76: 
                     77: //
                     78: // wprintf.c
                     79: //
                     80: 
                     81: VOID MyCreatePrintfWin(HWND hwnd);
                     82: VOID SetPrintfFont(HWND hwnd, HFONT hfont);
                     83: VOID SetPrintfTabs(INT n, LPINT pTabs);
                     84: VOID ClearPrintfWindow(HWND hwnd);
                     85: BOOL CopyToClipboard(VOID);
                     86: BOOL IsPrintfEmpty(VOID);
                     87: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.