LoadIFilter function (ntquery.h)
Retrieves IFilter from path name for object.
HRESULT LoadIFilter( PCWSTR pwcsPath, [in] IUnknown *pUnkOuter, [out] void **ppIUnk );
A pointer to the full path of an object for which an IFilter interface pointer is to be returned. The path can include a full filename or only the file name extension; for example, ".ext".
A pointer to the controlling IUnknown interface of the aggregate in which this storage object exists.
A pointer to a variable that receives the IFilter interface pointer.
This function can return one of these values.
||The operation was completed successfully.|
||The function was denied access to the filter file.|
||The function encountered an invalid handle, probably due to a low-memory situation.|
||The function received an invalid parameter.|
||The function did not have sufficient memory or other resources to complete the operation.|
||An unknown error has occurred.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|