GpaStatus GpaGetSampleCount( GpaSessionId session_id, GpaUInt32* sample_count);
Gets the number of samples created for the specified session. This is useful if samples are conditionally created and a count is not kept. The session must have been ended by GpaEndSession before calling this function.
||Unique identifier of a previously-created session.|
||The value which will hold the number of samples contained within the session upon successful execution.|
|kGpaStatusOk||The sample count was successfully retrieved.|
|kGpaStatusErrorSessionNotEnded||The session has not been ended. A session must have been ended with GpaEndSession prior to querying the number of samples.|
The sample count could not be retrieved.