Hi Abhishek,
For understanding these interfaces, MSDN is your friend. You can check MSDN's documentation for details on the IShellFolder interface. [1]
In general, these interfaces are known as COM interfaces [2]. The QueryInterface function comes from IUnknown which IShellFolder inherits from. [3]
Why don't you explore these files more and search for copy-paste functionality? Use the search box on the top right. For example, I found references to platform specific drag and drop code. [4]
Hope this helps!
Cheers,
Aaryaman