Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
part iii chapter introducing directshowstdapi cocr

Part iii chapter introducing directshowstdapi cocreateinstance refclsid rclsid

296 Part III
Chapter 13: Introducing DirectShow

STDAPI CoCreateInstance(
REFCLSID rclsid,
DWORD dwClsContext,
REFIID riid,

LPVOID *ppv: Address where the specified interface is to be returned.

HRESULT InitDirectShow (HWND hWnd)
HRESULT hr = CoInitialize(NULL);
if (SUCCEEDED(hr))
hr = CoCreateInstance(CLSID_FilterGraph, NULL,
CLSCTX_INPROC_SERVER, IID_IGraphBuilder, (void **)&pGraph); }
return hr;

hr = pGraph->QueryInterface(IID_IMediaControl, (void **)&pControl); }
return hr;

13.5 The Event Mechanism

The Media Player

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File

Uploaded by : Jessica Trevino

PageId: ELI9D7F7C6