📄 user32.c
字号:
/* Mini USER32 * * This is free software; see GPL.txt */#include <stdio.h>#include <stdlib.h>#include <string.h>#include <windows.h>#include "winb.h"/* The MessageBeep function plays a waveform sound. The waveform sound for each sound type is identified by an entry in the [sounds] section of the registry. * * Return Values * If the function succeeds, the return value is nonzero. * If the function fails, the return value is zero. To get extended error information, call GetLastError. */static BOOL WINAPI fd32_imp__MessageBeep(UINT uType){#ifdef __WINB_DEBUG__ fd32_log_printf("[WINB] MessageBeep ...\n");#endif return FALSE;}static char user32_name[] = "user32.dll";static struct symbol user32_symarray[] = { {"MessageBeep", (uint32_t)fd32_imp__MessageBeep}};static uint32_t user32_symnum = sizeof(user32_symarray)/sizeof(struct symbol);;void install_user32(void){ add_dll_table(user32_name, HANDLE_OF_USER32, user32_symnum, user32_symarray);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -