| 1 | /** | 
 
 
 
 
 | 2 | * This file has no copyright assigned and is placed in the Public Domain. | 
 
 
 
 
 | 3 | * This file is part of the mingw-w64 runtime package. | 
 
 
 
 
 | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 
 
 
 
 
 | 5 | */ | 
 
 
 
 
 | 6 | #ifndef _INC_NDFAPI | 
 
 
 
 
 | 7 | #define _INC_NDFAPI | 
 
 
 
 
 | 8 |  | 
 
 
 
 
 | 9 | #include <ndattrib.h> | 
 
 
 
 
 | 10 |  | 
 
 
 
 
 | 11 | #if (_WIN32_WINNT >= 0x0600) | 
 
 
 
 
 | 12 |  | 
 
 
 
 
 | 13 | #ifdef __cplusplus | 
 
 
 
 
 | 14 | extern "C" { | 
 
 
 
 
 | 15 | #endif | 
 
 
 
 
 | 16 |  | 
 
 
 
 
 | 17 | HRESULT NdfCloseIncident( | 
 
 
 
 
 | 18 | NDFHANDLE handle | 
 
 
 
 
 | 19 | ); | 
 
 
 
 
 | 20 |  | 
 
 
 
 
 | 21 | HRESULT WINAPI NdfCreateConnectivityIncident( | 
 
 
 
 
 | 22 | NDFHANDLE *handle | 
 
 
 
 
 | 23 | ); | 
 
 
 
 
 | 24 |  | 
 
 
 
 
 | 25 | HRESULT WINAPI NdfCreateDNSIncident( | 
 
 
 
 
 | 26 | LPCWSTR hostname, | 
 
 
 
 
 | 27 | WORD querytype, | 
 
 
 
 
 | 28 | NDFHANDLE *handle | 
 
 
 
 
 | 29 | ); | 
 
 
 
 
 | 30 |  | 
 
 
 
 
 | 31 | HRESULT NdfCreateIncident( | 
 
 
 
 
 | 32 | LPCWSTR helperClassName, | 
 
 
 
 
 | 33 | ULONG celt, | 
 
 
 
 
 | 34 | HELPER_ATTRIBUTE *attributes, | 
 
 
 
 
 | 35 | NDFHANDLE *handle | 
 
 
 
 
 | 36 | ); | 
 
 
 
 
 | 37 |  | 
 
 
 
 
 | 38 | HRESULT WINAPI NdfCreateSharingIncident( | 
 
 
 
 
 | 39 | LPCWSTR sharename, | 
 
 
 
 
 | 40 | NDFHANDLE *handle | 
 
 
 
 
 | 41 | ); | 
 
 
 
 
 | 42 |  | 
 
 
 
 
 | 43 | HRESULT WINAPI NdfCreateWebIncident( | 
 
 
 
 
 | 44 | LPCWSTR url, | 
 
 
 
 
 | 45 | NDFHANDLE *handle | 
 
 
 
 
 | 46 | ); | 
 
 
 
 
 | 47 |  | 
 
 
 
 
 | 48 | HRESULT WINAPI NdfCreateWebIncidentEx( | 
 
 
 
 
 | 49 | LPCWSTR url, | 
 
 
 
 
 | 50 | WINBOOL useWinHTTP, | 
 
 
 
 
 | 51 | LPWSTR moduleName, | 
 
 
 
 
 | 52 | NDFHANDLE *handle | 
 
 
 
 
 | 53 | ); | 
 
 
 
 
 | 54 |  | 
 
 
 
 
 | 55 | HRESULT NdfCreateWinSockIncident( | 
 
 
 
 
 | 56 | SOCKET sock, | 
 
 
 
 
 | 57 | LPCWSTR host, | 
 
 
 
 
 | 58 | USHORT port, | 
 
 
 
 
 | 59 | LPCWSTR appID, | 
 
 
 
 
 | 60 | SID *userId, | 
 
 
 
 
 | 61 | NDFHANDLE *handle | 
 
 
 
 
 | 62 | ); | 
 
 
 
 
 | 63 |  | 
 
 
 
 
 | 64 | HRESULT NdfExecuteDiagnosis( | 
 
 
 
 
 | 65 | NDFHANDLE handle, | 
 
 
 
 
 | 66 | HWND hwnd | 
 
 
 
 
 | 67 | ); | 
 
 
 
 
 | 68 |  | 
 
 
 
 
 | 69 | #ifdef __cplusplus | 
 
 
 
 
 | 70 | } | 
 
 
 
 
 | 71 | #endif | 
 
 
 
 
 | 72 |  | 
 
 
 
 
 | 73 | #endif /*(_WIN32_WINNT >= 0x0600)*/ | 
 
 
 
 
 | 74 |  | 
 
 
 
 
 | 75 | #endif /*_INC_NDFAPI*/ |