|
-
March 23rd, 2003, 10:42 PM
#6
Hi Robin, The API IsNetworkAlive takes the address of the DWORD as a parameter, but the point here is the parameter is [in] rather than [out] as most of the pointers in the parameter list represent generally. Initialize the dwFlag to 1 (which is the value of NETWORK_ALIVE_LAN) and try agiain.
Here we check whether the computer is connected to LAN or WAN or to the AOL n/w and not find out to which type of connection the machine is connected to. As the machine can be connected to more than one type of connection at the same time, it may not be appropriate to get the type of connection from the API.
Done?
-TeeJBee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|