ExtTextOut 在Win9x 16位平台下取路径时返回失败

来源:互联网 发布:淘宝网幼儿园名字贴 编辑:程序博客网 时间:2024/05/09 21:58

32位平台

BeginPath(hdc); 

ExtTextOut();  //在32位平台下,通常返回值为TRUE

EndPath(hdc);

 

在16位平台

Thk_BeginPath(hdc); //Thunk 16 -> 32 bit API

ExtTextOut(); //16位平台下,返回值永远为FALSE, 如果没有Thk_BeginPath,则范围值为TRUE

Thk_EndPath(hdc); //Thunk 16 -> 32 bit API

 

Thk_BeginPath(hdc); //Thunk 16 -> 32 bit API

TextOut(); //16位平台下,返回值为TRUE

Thk_EndPath(hdc); //Thunk 16 -> 32 bit API

原创粉丝点击