WdsBpAddOption function (wdsbp.h)

Adds an option to the packet.

Syntax

DWORD WDSBPAPI WdsBpAddOption(
  [in] HANDLE hHandle,
  [in] ULONG  uOption,
  [in] ULONG  uValueLen,
  [in] PVOID  pValue
);

Parameters

[in] hHandle

A handle returned by the WdsBpInitialize function.

[in] uOption

Specifies the option to add to the packet.

[in] uValueLen

The length, in bytes, for the value.

[in] pValue

A pointer to a location that contains the value for the option.

Return value

If the function succeeds, the return is S_OK.

Requirements

Requirement Value
Minimum supported client Windows Vista with SP1 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wdsbp.h
Library Wdsbp.lib
DLL Wdsbp.dll