UBB是否依然正常。
[b][/b]
[color=#008000]00000:[/color] [color=#008000]// KGenTmp.cpp : Defines the entry point for the application.[/color]
[color=#008000]00001:[/color] [color=#008000]//[/color]
[color=#008000]00002:[/color]
[color=#008000]00003:[/color] [color=#0000D0]#include[/color] [color=#808080]”stdafx.h”[/color]
[color=#008000]00004:[/color] [color=#0000D0]#include[/color] [color=#808080]”KGenTmp.h”[/color]
[color=#008000]00005:[/color]
[color=#008000]00006:[/color] [color=#0000D0]#define[/color] MAX_LOADSTRING 50
[color=#008000]00007:[/color]
[color=#008000]00008:[/color] [color=#008000]// Global Variables:[/color]
[color=#008000]00009:[/color] [color=#0000D0]HINSTANCE[/color] hInst; [color=#008000]// current instance[/color]
[color=#008000]00010:[/color] [color=#0000D0]HICON[/color] hIcon;
[color=#008000]00011:[/color] [color=#0000D0]HCURSOR[/color] hIdCursor;
[color=#008000]00012:[/color] [color=#0000D0]WNDPROC[/color] OldIdProc;
[color=#008000]00013:[/color] [color=#0000D0]DWORD[/color] nMusicSize;
[color=#008000]00014:[/color] [color=#0000D0]LPVOID[/color] pMusic;
[color=#008000]00015:[/color] [color=#0000D0]HRSRC[/color] hMusic;
[color=#008000]00016:[/color] [color=#0000D0]TCHAR[/color] szTitle[MAX_LOADSTRING];
[color=#008000]00017:[/color] [color=#0000D0]TCHAR[/color] szName[MAX_LOADSTRING];
[color=#008000]00018:[/color]
[color=#008000]00019:[/color] [color=#008000]// Forward declarations of functions included in this code module:[/color]
[color=#008000]00020:[/color] [color=#0000D0]LRESULT[/color] [color=#0000D0]CALLBACK[/color] DialogProc([color=#0000D0]HWND[/color], [color=#0000D0]UINT[/color], [color=#0000D0]WPARAM[/color], [color=#0000D0]LPARAM[/color]);
[color=#008000]00021:[/color] [color=#0000D0]LRESULT[/color] [color=#0000D0]CALLBACK[/color] IdProc([color=#0000D0]HWND[/color],[color=#0000D0]UINT[/color],[color=#0000D0]WPARAM[/color],[color=#0000D0]LPARAM[/color]);
[color=#008000]00022:[/color] [color=#0000D0]void[/color] mfmPlay([color=#0000D0]DWORD[/color]);
[color=#008000]00023:[/color]
[color=#008000]00024:[/color] [color=#0000D0]int[/color] [color=#0000D0]APIENTRY[/color] _tWinMain([color=#0000D0]HINSTANCE[/color] hInstance,
[color=#008000]00025:[/color] [color=#0000D0]HINSTANCE[/color] hPrevInstance,
[color=#008000]00026:[/color] [color=#0000D0]LPTSTR[/color] lpCmdLine,
[color=#008000]00027:[/color] [color=#0000D0]int[/color] nCmdShow)
[color=#008000]00028:[/color] {
[color=#008000]00029:[/color] [b][color=#000080]InitCommonControls[/color][/b]();
[color=#008000]00030:[/color] hInstance = [b][color=#000080]GetModuleHandle[/color][/b]([color=#0000D0]NULL[/color]);
[color=#008000]00031:[/color] hIcon = [b][color=#000080]LoadIcon[/color][/b](hInst,([color=#0000D0]LPCWSTR[/color])IDI_KEYGEN);
[color=#008000]00032:[/color] hIdCursor = [b][color=#000080]LoadCursor[/color][/b]([color=#0000D0]NULL[/color],IDC_HAND);
[color=#008000]00033:[/color] [b][color=#000080]DialogBoxParam[/color][/b](hInst,([color=#0000D0]LPCWSTR[/color])IDD_KEYGEN,[color=#0000D0]NULL[/color],([color=#0000D0]DLGPROC[/color])DialogProc,0);
[color=#008000]00034:[/color] [b][color=#000080]ExitProcess[/color][/b](0);
[color=#008000]00035:[/color] }
[color=#008000]00036:[/color]
[color=#008000]00037:[/color] [color=#008000]// Message handler for about box.[/color]
[color=#008000]00038:[/color] [color=#0000D0]LRESULT[/color] [color=#0000D0]CALLBACK[/color] DialogProc([color=#0000D0]HWND[/color] hWnd, [color=#0000D0]UINT[/color] uMsg, [color=#0000D0]WPARAM[/color] wParam, [color=#0000D0]LPARAM[/color] lParam)
[color=#008000]00039:[/color] {
[color=#008000]00040:[/color] [color=#0000D0]switch[/color] (uMsg)
[color=#008000]00041:[/color] {
[color=#008000]00042:[/color] [color=#0000D0]case[/color] WM_INITDIALOG:
[color=#008000]00043:[/color] OldIdProc = ([color=#0000D0]WNDPROC[/color])[b][color=#000080]SetWindowLong[/color][/b]([b][color=#000080]GetDlgItem[/color][/b](hWnd,IDC_ID),GWL_WNDPROC,([color=#0000D0]LONG[/color])IdProc);
[color=#008000]00044:[/color] [b][color=#000080]SendMessage[/color][/b](hWnd,WM_SETICON,ICON_BIG,([color=#0000D0]LPARAM[/color])hIcon);
[color=#008000]00045:[/color] [b][color=#000080]SendDlgItemMessage[/color][/b](hWnd,IDC_NAME,EM_SETLIMITTEXT,MAX_LOADSTRING,0);
[color=#008000]00046:[/color] [color=#008000]//hMusic = FindResource(hInst,(LPCWSTR)IDM_KEYGEN,RT_RCDATA);[/color]
[color=#008000]00047:[/color] [color=#008000]//nMusicSize = SizeofResource(hInst,hMusic);[/color]
[color=#008000]00048:[/color] [color=#008000]//LoadResource(hInst,hMusic);[/color]
[color=#008000]00049:[/color] [color=#0000D0]return[/color] [color=#0000D0]TRUE[/color];
[color=#008000]00050:[/color] [color=#0000D0]case[/color] WM_COMMAND:
[color=#008000]00051:[/color] [color=#0000D0]switch[/color](wParam)
[color=#008000]00052:[/color] {
[color=#008000]00053:[/color] [color=#0000D0]case[/color] IDC_ID:
[color=#008000]00054:[/color] [b][color=#000080]MessageBox[/color][/b](hWnd,L[color=#808080]”1?óú”[/color],L[color=#808080]”1?óú”[/color],MB_ICONINFORMATION);
[color=#008000]00055:[/color] [color=#0000D0]break[/color];
[color=#008000]00056:[/color] [color=#0000D0]case[/color] IDC_EXIT:
[color=#008000]00057:[/color] [b][color=#000080]SendMessage[/color][/b](hWnd,WM_CLOSE,0,0);
[color=#008000]00058:[/color] [color=#0000D0]break[/color];
[color=#008000]00059:[/color] }
[color=#008000]00060:[/color] [color=#0000D0]return[/color] [color=#0000D0]TRUE[/color];
[color=#008000]00061:[/color] [color=#0000D0]case[/color] WM_CLOSE:
[color=#008000]00062:[/color] [b][color=#000080]EndDialog[/color][/b](hWnd,0);
[color=#008000]00063:[/color] [color=#0000D0]return[/color] [color=#0000D0]TRUE[/color];
[color=#008000]00064:[/color] }
[color=#008000]00065:[/color] [color=#0000D0]return[/color] [color=#0000D0]FALSE[/color];
[color=#008000]00066:[/color] }
[color=#008000]00067:[/color] [color=#0000D0]LRESULT[/color] [color=#0000D0]CALLBACK[/color] IdProc([color=#0000D0]HWND[/color] hWnd,[color=#0000D0]UINT[/color] uMsg,[color=#0000D0]WPARAM[/color] wParam,[color=#0000D0]LPARAM[/color] lParam)
[color=#008000]00068:[/color] {
[color=#008000]00069:[/color] [color=#0000D0]if[/color](uMsg==WM_SETCURSOR)
[color=#008000]00070:[/color] [b][color=#000080]SetCursor[/color][/b](hIdCursor);
[color=#008000]00071:[/color] [color=#0000D0]else[/color]
[color=#008000]00072:[/color] {
[color=#008000]00073:[/color] [b][color=#000080]CallWindowProc[/color][/b](OldIdProc,hWnd,uMsg,wParam,lParam);
[color=#008000]00074:[/color] [color=#0000D0]return[/color] [color=#0000D0]TRUE[/color];
[color=#008000]00075:[/color] }
[color=#008000]00076:[/color] [color=#0000D0]return[/color] [color=#0000D0]TRUE[/color];
[color=#008000]00077:[/color] }
博主友情提示:
如您在评论中需要提及如QQ号、电子邮件地址或其他隐私敏感信息,欢迎使用>>博主专用加密工具v3<<处理后发布,原文只有博主可以看到。
呵呵,插件位置变了。。。。