1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_WDSBP
#define _INC_WDSBP
#if (_WIN32_WINNT >= 0x0600)
#ifdef __cplusplus
extern "C" {
#endif
#ifndef WDSBPAPI
#define WDSBPAPI WINAPI
#endif
/* Wdsbp.dll is missing an implib because Vista clients don't have the dll to generate it from */
HRESULT WDSBPAPI WdsBpAddOption(
HANDLE hHandle,
ULONG uOption,
ULONG uValueLen,
PVOID pValue
);
HRESULT WDSBPAPI WdsBpCloseHandle(
HANDLE hHandle
);
HRESULT WDSBPAPI WdsBpGetOptionBuffer(
HANDLE hHandle,
ULONG uBufferLen,
PVOID pBuffer,
PULONG puBytes
);
#define WDSBP_PK_TYPE_DHCP 1
#define WDSBP_PK_TYPE_WDSNBP 2
#define WDSBP_PK_TYPE_BCD 4
HRESULT WDSBPAPI WdsBpInitialize(
BYTE bPacketType,
HANDLE *phHandle
);
HRESULT WDSBPAPI WdsBpParseInitialize(
PVOID pPacket,
ULONG uPacketLen,
PBYTE pbPacketType,
HANDLE *phHandle
);
HRESULT WDSBPAPI WdsBpQueryOption(
HANDLE hHandle,
ULONG uOption,
ULONG uValueLen,
PVOID pValue,
PULONG puBytes
);
#ifdef __cplusplus
}
#endif
#endif /*(_WIN32_WINNT >= 0x0600)*/
#endif /*_INC_WDSBP*/
|