zrfstat.c

来自「创建静态链接库的程序」· C语言 代码 · 共 26 行

C
26
字号
/*
 * ZRFStatic.c : Non-MFC "C" Static Library Using the Win32 API directly
 */

#include <windows.h>
#include <stdlib.h>
#include "ZRFStat.h"

BOOL flag=FALSE;

// must call Win32 API directly
void ZRFMessageBox(LPSTR pszString)
{
	MessageBox(NULL,pszString,"ZRF Static Library",MB_OK);
}

void DestroyZRFWindow(HWND hWnd)
{
	DestroyWindow(hWnd);
}

void ZRFFunc3(BOOL b)
{
	flag=b;	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?