Share via


WZCSetLatencySensitiveMode (Windows Embedded CE 6.0)

1/6/2010

This function is called when an application starts or stops a stream with real time periodic data.

Syntax

DWORD WZCSetLatencySensitiveMode(
        LPWSTR              pSrvAddr,
        PWSTR               wszInterfaceGuid,
        BOOL                bEnable,
        ULONG               PacketLatencyMs
);

Parameters

  • pSrvAddr
    [in] Not used. This parameter should always be set to NULL.
  • wszInterfaceGuid
    [in] The interface name.

    If this is set to NULL then the parameters are applied to all of the WZC-managed 802.11 NICs in the device.

    If not set to NULL then only the named adapter will be affected.

  • bEnable
    [in] Set to TRUE when starting a stream. Set to FALSE to end a stream.
  • PacketLatencyMs
    [in] Expected packet period in milliseconds.

    When starting a stream this parameter should be set to the codec-specific interval at which data is expected to be transmitted. Should be set to 0 when the stream is being stopped.

Return Value

Returns ERROR_SUCCESS if the operation completes successfully; otherwise, returns an error code.

See Also

Reference

Automatic Configuration Functions