The following code snippets briefly illustrate some basic operations. The snippets are written in C++ and Visual Basic. The samples section of the Platform SDK contains full propgrams that can be compiled.