# IRsScannerCategory Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | GetID ([out, retval] RtSCId *pId)
HRESULT | AddScanner ([in] IRsGenScanner *pScanner)
HRESULT | RemoveScanner ([in] IRsGenScanner *pScanner)
HRESULT | BlockScanners ([in] RtBool bBlock)

## Detailed Description

System category allows working and manipulation with group of equal or similar scanners

## Member Function Documentation

HRESULT IRsScannerCategory::GetID | ( | [out, retval] RtSCId * | pId | ) |

Identification of scanner category.

Returns:
  pId [out,retval] unique identificator of category.

HRESULT IRsScannerCategory::AddScanner | ( | [in] IRsGenScanner * | pScanner | ) |

Adds new scanner to category

Parameters:

  | pScanner | [in] generic scanner interface.

HRESULT IRsScannerCategory::RemoveScanner | ( | [in] IRsGenScanner * | pScanner | ) |

Removes scanner from category

Parameters:

  | pScanner | [in] generic scanner interface.

HRESULT IRsScannerCategory::BlockScanners | ( | [in] RtBool | bBlock | ) |

Block/Unblock all scanners in category from receiving events

Parameters:

  | bBlock | [in] value indicating block status.