15,472
社区成员
发帖
与我相关
我的任务
分享
BOOL WINAPI MyExtTextOutW( HDC hdc, int cx, int cy, UINT ui, CONST RECT *rc,
LPCWSTR lpString, UINT nCount, CONST INT *pi)
{
static bool bSend=0;
static PQQINFO pQQInfo=NULL;
static char szMsgName[64];
static char szMsgAccount[32];
static char szName[64]={0};
static int nVer=2009;
static int nLastX=0,nLastY=0;
if(nCount>0)
{
char szText[MSGLEN]={0};
char szCaption[64]={0};
char szClassName[32]={0};
int nTextLen=0;
bool bExists=false;
HWND hWnd,hValidateHwnd=0;
int i=0;
nTextLen=WideCharToMultiByte( CP_ACP,0,lpString,nCount,szText,MSGLEN, NULL, NULL );
if(nTextLen<=0)
goto exit;
//。。。。。。。。。。写你的代码
}