headers: Add missing symbols in bthsdpdef.h

Also fix a typo with _SDP_ELEMENT_DATA name

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
Biswapriyo Nath 2023-08-27 10:03:35 +05:30 committed by LIU Hao
parent 6bd9651b69
commit 3a7104dd22

View File

@ -10,9 +10,22 @@
extern "C" {
#endif
typedef union SdpQueryUuidUnion {
typedef
#ifdef __WIDL__
[switch_type(unsigned short)]
#endif
union SdpQueryUuidUnion {
#ifdef __WIDL__
[case(SDP_ST_UUID128)]
#endif
GUID uuid128;
#ifdef __WIDL__
[case(SDP_ST_UUID32)]
#endif
ULONG uuid32;
#ifdef __WIDL__
[case(SDP_ST_UUID16)]
#endif
USHORT uuid16;
} SdpQueryUuidUnion;
@ -22,6 +35,9 @@ typedef struct _SdpAttributeRange {
} SdpAttributeRange;
typedef struct _SdpQueryUuid {
#ifdef __WIDL__
[switch_is(uuidType)]
#endif
SdpQueryUuidUnion u;
USHORT uuidType;
} SdpQueryUuid;
@ -59,14 +75,21 @@ typedef enum _SDP_SPECIFICTYPE {
typedef struct _SDP_LARGE_INTEGER_16 {
ULONGLONG LowPart;
LONGLONG HighPart;
} SDP_LARGE_INTEGER_16;
} SDP_LARGE_INTEGER_16, *PSDP_LARGE_INTEGER_16, *LPSDP_LARGE_INTEGER_16;
typedef struct _SDP_ULARGE_INTEGER_16 {
ULONGLONG LowPart;
ULONGLONG HighPart;
} SDP_ULARGE_INTEGER_16;
} SDP_ULARGE_INTEGER_16, *PSDP_ULARGE_INTEGER_16, *LPSDP_ULARGE_INTEGER_16;
typedef struct _SPD_ELEMENT_DATA {
typedef enum NodeContainerType {
NodeContainerTypeSequence,
NodeContainerTypeAlternative
} NodeContainerType;
typedef USHORT SDP_ERROR, *PSDP_ERROR;
typedef struct _SDP_ELEMENT_DATA {
SDP_TYPE type;
SDP_SPECIFICTYPE specificType;
__C89_NAMELESS union {