skl_winmain.cpp

来自「mpeg4编解码器」· C++ 代码 · 共 41 行

CPP
41
字号
/******************************************************** * Some code. Copyright (C) 2003 by Pascal Massimino.   * * All Rights Reserved.      (http://skal.planet-d.net) * * For Educational/Academic use ONLY. See 'LICENSE.TXT'.* ********************************************************//* * skl_winmain.cpp * *  Windows entry point ********************************************************/#ifdef _WINDOWS#include "skl.h"#include "skl_syst/skl_syswin.h"#include <stdlib.h>extern "C" int main(int argc, char *argv[]);//////////////////////////////////////////////////////////// Win $#@#@! main call//////////////////////////////////////////////////////////int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,     LPSTR lpCmdLine, int nCmdShow ){  if ( hPrevInstance!=0 ) return 0;  SKL_WIN_SYSTEM::Init( hInstance );   // thanks Nic (at everwicked dot com) for the __argc/v trick!  int ret = main( __argc, __argv );  SKL_WIN_SYSTEM::Finish();  return ret;}//////////////////////////////////////////////////////////#endif   // _WINDOWS

⌨️ 快捷键说明

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