microsoft/Windows-classic-samples

RecipeThumbnailProvider: explain CRecipeThumbProvider_CreateInstance

Zyl9393 opened this issue · 0 comments

The code sample for CRecipeThumbProvider defines a function HRESULT CRecipeThumbProvider_CreateInstance(REFIID riid, void **ppv) without explaining its purpose or otherwise making easy to understand why it exists. I thought that maybe function names ending in _CreateInstance had some special meaning to the Windows shell, but was not able to find any such information.

The code sample should have a comment justifying the existence of the function.