This sample shows how to implement a custom allocator-presenter for the VMR-9.
Path
Source: (SDK root)\Samples\C++\DirectShow\VMR9\VMR9Allocator
Executable: (SDK root)\Samples\C++\DirectShow\Bin\VMR9Allocator.exe