⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 entry.c

📁 一个windows显示驱动的好程序
💻 C
字号:
/**********************************************************************
 * 
 *  Toby Opferman
 *
 *  Example Application which uses shared memory to display the contents
 *  of a virtual second monitor
 *
 *  This example is for educational purposes only.  I license this source
 *  out for use in learning.
 *
 *  Copyright (c) 2005, All Rights Reserved  
 **********************************************************************/
 
 #include <windows.h>
 #include "appmon.h"
 
 
 
 /*********************************************************************
 * WinMain
 *
 *   Standard Windows Application Entry
 *
 *********************************************************************/
 int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PCHAR pCmdLine, int iShow)
 {
     int iRetValue = 0xFF;
     HWND hWnd;

     if(AppMon_RegisterClass(hInstance))
     {
         if(hWnd = AppMon_CreateWindow(hInstance))
         {
             iRetValue = AppMon_MessageLoop(hInstance, hWnd);
         }
     }
     
     return iRetValue;
 }

⌨️ 快捷键说明

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