| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/ |
Upload File : |
/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
sensapi.h
Abstract:
Public header file for the SENS Connectivity APIs.
Author:
Gopal Parupudi <GopalP>
[Notes:]
optional-notes
Revision History:
GopalP 10/12/1997 Start.
--*/
#ifndef __SENSAPI_H__
#define __SENSAPI_H__
#if _MSC_VER > 1000
#pragma once
#endif
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifdef __cplusplus
extern "C" {
#endif
#define NETWORK_ALIVE_LAN 0x00000001
#define NETWORK_ALIVE_WAN 0x00000002
#define NETWORK_ALIVE_AOL 0x00000004
#define NETWORK_ALIVE_INTERNET 0x00000008
typedef struct tagQOCINFO
{
DWORD dwSize;
DWORD dwFlags;
DWORD dwInSpeed;
DWORD dwOutSpeed;
} QOCINFO, *LPQOCINFO;
#ifdef UNICODE
#define IsDestinationReachable IsDestinationReachableW
#else
#define IsDestinationReachable IsDestinationReachableA
#endif // UNICODE
#if !defined(__midl)
BOOL APIENTRY
IsDestinationReachableA(
LPCSTR lpszDestination,
LPQOCINFO lpQOCInfo
);
BOOL APIENTRY
IsDestinationReachableW(
LPCWSTR lpszDestination,
LPQOCINFO lpQOCInfo
);
BOOL APIENTRY
IsNetworkAlive(
LPDWORD lpdwFlags
);
#endif // !defined(__midl)
#ifdef __cplusplus
}
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif // __SENSAPI_H__