# GetBrngProperties

Returns structure with properties of a given basic generator.

## Syntax

Fortran:

status = vslgetbrngproperties( brng, properties )

C:

status = vslGetBrngProperties( brng, &properties );

## Input Parameters

Name | Type | Description
--- | --- | ---
brng | FORTRAN: INTEGER, INTENT(IN) C: int | Number (index) of the registered basic generator; used for identification. See specific values in Table“Values of brng parameter”. Negative values indicate the registration error.

## Output Parameters

Name | Type | Description
--- | --- | ---
properties | FORTRAN: TYPE(VSL_BRNG_PROPERTIES), INTENT(OUT) C: VSLBRngProperties* | Pointer to the structure containing properties of the generator with number brng

## Return Values

VSL_ERROR_OK, VSL_STATUS_OK

  Indicates no error, execution is successful.

VSL_ERROR_INVALID_BRNG_INDEX

  BRNG index is invalid.

Parent topic: Advanced Service Routines