Yes, it's one of the decoding options.
Our SDKs are designed to process 2D arrays, which have to be passed into decoding procedure as parameter. No matter what is the source - the application must prepare array and call decoding function.
You can see more about preparing such an array in the appropriate User's Guides. For example, for Data Matrix it can be seen here (Section 3.5, parameter TRow*prows, which refers to the 2D-array).
The way how the program shall be structured can be checked in the DEMO MSVS application.