can you attach here?
Sure here they are (they dont seem to have copyright thingies in them and come with the SDK) so hopefully ok?
May i ask what you are doing with them?
May i ask what you are doing with them?
do you have sensapi.inc too ?
It is network related: 'IsDestinationReachable'
It is network related: 'IsDestinationReachable'
do you have sensapi.inc too ?
It is network related: 'IsDestinationReachable'
Unfortunately no, but it is fairly easy to construct one out of the .h file
the below are your function calling definitions
BOOL APIENTRY
IsDestinationReachableA(
LPCSTR lpszDestination,
LPQOCINFO lpQOCInfo
);
BOOL APIENTRY
IsDestinationReachableW(
LPCWSTR lpszDestination,
LPQOCINFO lpQOCInfo
);
BOOL APIENTRY
IsNetworkAlive(
LPDWORD lpdwFlags
);
and your constants and structure are below
#define NETWORK_ALIVE_LAN 0x00000001
#define NETWORK_ALIVE_WAN 0x00000002
#define NETWORK_ALIVE_AOL 0x00000004
typedef struct tagQOCINFO
{
DWORD dwSize;
DWORD dwFlags;
DWORD dwInSpeed;
DWORD dwOutSpeed;
} QOCINFO, *LPQOCINFO;
hope this helps, maybe someone else has the premade inc file
Shouldn't this be:
#define NETWORK_ALIVE_[b]AOL[/b] 0xDEADBEEF
Shouldn't this be:
#define NETWORK_ALIVE_[b]AOL[/b] 0xDEADBEEF
LOL
Just a thought, what about using the wininet dll functions? they can tell if a connection is present too - much bigger i suppose but all the incs have been done