WdsBpAddOption function

Adds an option to the packet.

Syntax


HRESULT WDSBPAPI WdsBpAddOption(
  _In_ HANDLE hHandle,
  _In_ ULONG  uOption,
  _In_ ULONG  uValueLen,
  _In_ PVOID  pValue
);

Parameters

hHandle [in]

A handle returned by the WdsBpInitialize function.

uOption [in]

Specifies the option to add to the packet.

uValueLen [in]

The length, in bytes, for the value.

pValue [in]

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

Return value

If the function succeeds, the return is S_OK.

Requirements

Minimum supported client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wdsbp.h

Library

Wdsbp.lib

DLL

Wdsbp.dll

 

 

Community Additions

ADD
Show: