Re: [Mingw-w64-public] COM GUID and IID question

2011-03-05 Thread Georgi Petrov
> GUID IDD_SomeId = { }; > > for C the argument would be then func (&IDD_SomeId); > If you are doing this with C++ uses then ((REFID) &IDD_SomeId, ...); > > Kai Hi Kai, Yes, I guess this was obvious, but somehow I missed it. Thank you very much! -

Re: [Mingw-w64-public] COM GUID and IID question

2011-03-05 Thread Georgi Petrov
On Sat, Mar 5, 2011 at 2:48 PM, Kai Tietz wrote: > 2011/3/5 Georgi Petrov : >> Hi, >> >> I have a quick question. I can't figure out something. I have the >> following COM function definition: >> STDAPI MFCreateVideoRenderer(REFIID riidRenderer, void ** ppVid

[Mingw-w64-public] COM GUID and IID question

2011-03-05 Thread Georgi Petrov
Hi, I have a quick question. I can't figure out something. I have the following COM function definition: STDAPI MFCreateVideoRenderer(REFIID riidRenderer, void ** ppVideoRenderer); The first parameter (riidRenderer) is Interface indentifier (IID) of a COM class. When calling MFCreateVideoRenderer

Re: [Mingw-w64-public] Improving evr.h from Windows SDK

2011-02-01 Thread Georgi Petrov
On Tue, Feb 1, 2011 at 10:47 PM, Kai Tietz wrote: > 2011/2/1 Georgi Petrov : >> On Tue, Feb 1, 2011 at 9:44 PM, Kai Tietz wrote: >>> 2011/2/1 Georgi Petrov : >>>> If headers are in public domain, I will be able to include evr.h in >>>> mingw later, but i

Re: [Mingw-w64-public] Improving evr.h from Windows SDK

2011-02-01 Thread Georgi Petrov
On Tue, Feb 1, 2011 at 9:44 PM, Kai Tietz wrote: > 2011/2/1 Georgi Petrov : >> If headers are in public domain, I will be able to include evr.h in >> mingw later, but if the headers are ZPL licensed, I wouldn't. >> >> The problem is that mingw's headers are

Re: [Mingw-w64-public] Improving evr.h from Windows SDK

2011-02-01 Thread Georgi Petrov
If headers are in public domain, I will be able to include evr.h in mingw later, but if the headers are ZPL licensed, I wouldn't. The problem is that mingw's headers are in the public domain. Is there any chance that the headers from mingw-w64 are also in public domain (as is written in the beginn

Re: [Mingw-w64-public] Improving evr.h from Windows SDK

2011-02-01 Thread Georgi Petrov
Hello, As I understand, all mingw-w64 files are under ZPL license. Then why evr.h starts with: /** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the w64 mingw-runtime package. * No warranty is given; refer to the file DISCLAIMER.PD within this

[Mingw-w64-public] Improving evr.h from Windows SDK

2011-01-28 Thread Georgi Petrov
Hi, I had a conversation with JonY yesterday and he invited me to will help you to create better working and tested EVR (Enhanced Video Renderer) evr.h header file. As I look at the Windows SDK headers, I will provide description (without actual code or declarations) of the internal structure and