Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <strmif.h>
- #include <uuids.h>
- int main()
- {
- std::cout << "Start" << std::endl;
- HRESULT hr = CoInitialize(NULL);
- printf("CoInitialize = 0x%xn", hr);
- void* ptr = NULL;
- hr = CoCreateInstance(CLSID_DSoundRender, NULL, CLSCTX_INPROC, IID_IBaseFilter, (void**)&ptr);
- printf("CoCreateInstance = 0x%xn", hr);
- CoUninitialize();
- std::cout << "End" << std::endl;
- std::cin.get();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement