# SetSCelChannelFlags

Sets channel flags.

### Synopsis

`long SetSCelChannelFlags (SCelContextPtr ctx, long channelNumber, long mask, long flagValues)`

### Description

Sets the status flags for the specified logical channel. Enhances the standard set channels call by allowing you to set flags in the status word individually.

### Arguments

ctx
  Pointer to context structure for the SCel subscriber.

channelNumber
  Logical channel number.

mask
  Bits set in the mask indicate which flags are to be updated.

flagValues
  Values of the flag bits to be updated.

### Return Value

Returns an error code, or zero if there was no error.

### Caveat

This function is part of the Subscriber.lib library file that can currently (Toolkit1.5) be found in Attic:Streaming:2p1:DataStream:Subscribers:Subscriber.lib. It will later be integrated into the main Streaming tree.

### Associated Files

SCelSubscriber.h