[Herecast-commit] herecast/src/HerecastLib/LibMain herecast.h,1.1,1.2
Status: Beta
Brought to you by:
mdpaciga
|
From: Mark P. <mdp...@us...> - 2005-07-21 20:07:14
|
Update of /cvsroot/herecast/herecast/src/HerecastLib/LibMain In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21545/src/HerecastLib/LibMain Modified Files: herecast.h Log Message: HerecastTester code is public domain, so it can more easily be adapted for use by other applications Index: herecast.h =================================================================== RCS file: /cvsroot/herecast/herecast/src/HerecastLib/LibMain/herecast.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** herecast.h 21 Jul 2005 19:56:32 -0000 1.1 --- herecast.h 21 Jul 2005 20:07:03 -0000 1.2 *************** *** 1,27 **** /* API Version 1.0 Compatible with Herecast 1.06 and later ! Sample usage: ! ! ! void HerecastTest() ! { ! HWND hwnd = FindWindow(TEXT("Herecast"), NULL); ! if (!hwnd) { ! MessageBox(hwnd, TEXT("Herecast not running"), TEXT("Error"), 0); ! return; ! } ! ! WCHAR buf[HC_FIELDSIZE]; ! ! LRESULT result = SendMessage(hwnd, HC_GET_BSSID, buf, HC_FIELDSIZE); ! if (!result) { ! MessageBox(hwnd, TEXT("No answer from Herecast"), TEXT("Error"), 0); ! return; ! } ! ! MessageBox(hwnd, buf, TEXT("BSSID"), 0); ! } ! */ --- 1,7 ---- /* API Version 1.0 Compatible with Herecast 1.06 and later + The code in this file is public domain. ! For sample usage, see the HerecastAPI project. */ |