Share via


WlanExtractPsdIEDataList (Compact 2013)

3/26/2014

This function extracts the proximity service discovery (PSD) information element (IE) data list from raw IE data included in a beacon.

Syntax

DWORD WINAPI WlanExtractPsdIEDataList(
  __in        HANDLE hClientHandle,
  __in        DWORD dwIeDataSize,
  __in        const PBYTE pRawIeData,
  __in        LPCWSTR strFormat,
  __reserved  PVOID pReserved,
  __out       PWLAN_RAW_DATA_LIST* ppPsdIEDataList
);

Parameters

  • hClientHandle
    The client's session handle, obtained by a previous call to the WlanOpenHandle function.
  • dwIeDataSize
    The size, in bytes, of the pRawIeData parameter
  • pRawIeData
    The raw IE data for all IEs in the list
  • strFormat
    Describes the format of a PSD IE. Only IEs with a matching format are returned
  • pReserved
    Reserved; set to NULL.

Return Values

Value

Description

ERROR_SUCCESS

The function succeeds

ERROR_INVALID_PARAMETER

hClientHandle is NULL or invalid, dwIeDataSize is 0, pRawIeData is NULL, or pReserved is not NULL

ERROR_INVALID_HANDLE

The handle hClientHandle was not found in the handle table

ERROR_NOT_SUPPORTED

This function was called from an unsupported platform

RPC_STATUS

Various error codes

Remarks

For more information about PSD IEs including a discussion of the format of an IE, see WlanSetPsdIEDataList.

See Also

Reference

Native Wi-Fi Functions
WlanOpenHandle
WlanSetPsdIEDataList
Native Wi-Fi Reference