Last change
on this file since 1181 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
1.2 KB
|
Rev | Line | |
---|
[1166] | 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_WDSBP
|
---|
| 7 | #define _INC_WDSBP
|
---|
| 8 | #if (_WIN32_WINNT >= 0x0600)
|
---|
| 9 |
|
---|
| 10 | #ifdef __cplusplus
|
---|
| 11 | extern "C" {
|
---|
| 12 | #endif
|
---|
| 13 |
|
---|
| 14 | #ifndef WDSBPAPI
|
---|
| 15 | #define WDSBPAPI WINAPI
|
---|
| 16 | #endif
|
---|
| 17 |
|
---|
| 18 | /* Wdsbp.dll is missing an implib because Vista clients don't have the dll to generate it from */
|
---|
| 19 |
|
---|
| 20 | HRESULT WDSBPAPI WdsBpAddOption(
|
---|
| 21 | HANDLE hHandle,
|
---|
| 22 | ULONG uOption,
|
---|
| 23 | ULONG uValueLen,
|
---|
| 24 | PVOID pValue
|
---|
| 25 | );
|
---|
| 26 |
|
---|
| 27 | HRESULT WDSBPAPI WdsBpCloseHandle(
|
---|
| 28 | HANDLE hHandle
|
---|
| 29 | );
|
---|
| 30 |
|
---|
| 31 | HRESULT WDSBPAPI WdsBpGetOptionBuffer(
|
---|
| 32 | HANDLE hHandle,
|
---|
| 33 | ULONG uBufferLen,
|
---|
| 34 | PVOID pBuffer,
|
---|
| 35 | PULONG puBytes
|
---|
| 36 | );
|
---|
| 37 |
|
---|
| 38 | #define WDSBP_PK_TYPE_DHCP 1
|
---|
| 39 | #define WDSBP_PK_TYPE_WDSNBP 2
|
---|
| 40 | #define WDSBP_PK_TYPE_BCD 4
|
---|
| 41 |
|
---|
| 42 | HRESULT WDSBPAPI WdsBpInitialize(
|
---|
| 43 | BYTE bPacketType,
|
---|
| 44 | HANDLE *phHandle
|
---|
| 45 | );
|
---|
| 46 |
|
---|
| 47 | HRESULT WDSBPAPI WdsBpParseInitialize(
|
---|
| 48 | PVOID pPacket,
|
---|
| 49 | ULONG uPacketLen,
|
---|
| 50 | PBYTE pbPacketType,
|
---|
| 51 | HANDLE *phHandle
|
---|
| 52 | );
|
---|
| 53 |
|
---|
| 54 | HRESULT WDSBPAPI WdsBpQueryOption(
|
---|
| 55 | HANDLE hHandle,
|
---|
| 56 | ULONG uOption,
|
---|
| 57 | ULONG uValueLen,
|
---|
| 58 | PVOID pValue,
|
---|
| 59 | PULONG puBytes
|
---|
| 60 | );
|
---|
| 61 |
|
---|
| 62 | #ifdef __cplusplus
|
---|
| 63 | }
|
---|
| 64 | #endif
|
---|
| 65 | #endif /*(_WIN32_WINNT >= 0x0600)*/
|
---|
| 66 | #endif /*_INC_WDSBP*/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.