This can be found in quite a few places in this site (
example) and is actually a fairly simple call. The numbers for the flags come from the header file where the definitions are made.
More information on working with DLLs can be found
here.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials.
Here and
here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read
the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
___________________
Try to take over the world!