GpaGetSupportedSampleTypes
Syntax
Description
Gets a mask of the sample types supported by the specified context. A call to GpaCreateSession will fail if the requested sample types are not compatible with the context’s sample types.
Parameters
Name |
Description |
---|---|
|
Unique identifier of a previously-opened context. |
|
The value that will be set to the the mask of the supported sample types upon successful execution. This will be a combination of GpaSampleBits. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
The supported sample types were successfully retrieved. |
kGpaStatusErrorGpaNotInitialized |
GPA was not initialized. Call GpaInitialize before all other entrypoints. |
kGpaStatusErrorNullPointer |
The supplied
sample_types parameter is NULL.The supplied
context_id parameter is NULL. |
kGpaStatusErrorContextNotOpen |
The supplied context is not currently open. |
kGpaStatusErrorContextNotFound |
The supplied |
kGpaStatusErrorFailed |
The supported sample types could not be retrieved. |
kGpaStatusErrorException |
Exception occurred. |