diff --git a/docs/cppcx/codesnippet/CPP/walkthrough-creating-a-windows-store-app-using-wrl-and-media-foundation_4.cpp b/docs/cppcx/codesnippet/CPP/walkthrough-creating-a-windows-store-app-using-wrl-and-media-foundation_4.cpp index 9bdeebfd49..d1f9151501 100644 --- a/docs/cppcx/codesnippet/CPP/walkthrough-creating-a-windows-store-app-using-wrl-and-media-foundation_4.cpp +++ b/docs/cppcx/codesnippet/CPP/walkthrough-creating-a-windows-store-app-using-wrl-and-media-foundation_4.cpp @@ -1386,7 +1386,7 @@ HRESULT CGrayscale::ProcessOutput( // Create a partial media type from our list. // -// dwTypeIndex: Index into the list of peferred media types. +// dwTypeIndex: Index into the list of preferred media types. // ppmt: Receives a pointer to the media type. HRESULT CGrayscale::OnGetPartialType(DWORD dwTypeIndex, IMFMediaType **ppmt)