The IShellLibrary COM object presents a Windows 7 Library. This interface defines methods for creating and managing Libraries. You can work directly with the COM interface, but it’s easier to use a higher abstraction layer of functions. Shobjidl.h provides the following library helper functions:
Note: if you are really interested in how these helper functions are implemented, simply go to the Shobjidl.h h file and search for these functions.