#include <windows.h>
#include <windowsx.h>
#include <string.h>
#include "splshapi.h"
#include "errorapi.h"
FARPROC pfnSplashInit;
FARPROC pfnSplashExecute;
HINSTANCE hLibrary;
BOOL WINAPI IntelSplashInit()
{
int iErr;
//
// Dynamically load the SPLASH DLL and execute the
// two functions SplashInit() and SplashExecute()
//
#if WIN16
hLibrary = LoadLibrary( "SPLASH16.DLL" );
#endif
#if WIN32
hLibrary = LoadLibrary( "SPLASH32.DLL" );
#endif
if ( (int)hLibrary < HINSTANCE_ERROR )
{
//MessageBox( 0, "Could not find Splash DLL", "Error", MB_OK );
OutputDebugString( "Could not find Splash DLL\n" );
return FALSE;
}
#if WIN16
pfnSplashInit = GetProcAddress( hLibrary, "SplashInit" );
#endif
#if WIN32
pfnSplashInit = GetProcAddress( hLibrary, "_SplashInit@4" );
#endif
if ( !pfnSplashInit )
{
OutputDebugString( "Invalid Splash DLL\n" );
return FALSE;
}
#if WIN16
pfnSplashExecute = GetProcAddress( hLibrary, "SplashExecute" );
#endif
#if WIN32
pfnSplashExecute = GetProcAddress( hLibrary, "_SplashExecute@0" );
#endif
if ( !pfnSplashExecute )
{
OutputDebugString( "Invalid Splash DLL\n" );
return FALSE;
}
//
// Initialize the Splash DLL indicating the language to display
//
iErr = pfnSplashInit( (DWORD)SPLASH_LANG_ENGLISH );
if ( iErr ){
OutputDebugString( "An error occurred initializing the Splash DLL.\n" );
return FALSE;
}
return TRUE;
}
BOOL WINAPI IntelSplash()
{
int iErr;
//
// Execute Splash screen
//
iErr = pfnSplashExecute();
if ( iErr ){
OutputDebugString( "An error occurred executing the Splash screen." );
return FALSE;
}
return TRUE;
}
没有合适的资源?快使用搜索试试~ 我知道了~
chibi.rar_CBGAME.SET_古老游戏

共128个文件
h:61个
cpp:57个
dsw:1个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
14 浏览量
2022-09-14
15:29:02
上传
评论
收藏 480KB RAR 举报
经典游戏赤壁的源代码,虽然比较古老,但是很多结构还是比较经典的
资源推荐
资源详情
资源评论
















收起资源包目录





































































































共 128 条
- 1
- 2
资源评论


alvarocfc
- 粉丝: 68
- 资源: 1万+
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
