MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > b) Core Functions > leStream_Close Function
MPLAB® Harmony Graphics Suite
leStream_Close Function

Closes a stream. The stream will call the leApplication_MediaCloseRequest API to close any open data sources. If multiple streams use the same data source then it is up to the application to determine when all streams are finished with source. The use of a reference counter is advised.

C
leResult leStream_Close(
    leStream* stream
);
Parameters
Parameters 
Description 
leStream* stream 
the stream to close 
MPLAB® Harmony Graphics Suite