Defintion of what MIDL_INTERFACE("") and DECLSPEC_UUID does.

I was looking for the definition of what these each did and I could only find definitions on parts of it like i found what INTERFACE if but not what MIDL_INTERFACE is and I found DECLSPEC but not DECLSPEC_UUID.

I understand that these are importing interfaces but can anyone tell me more? and what is the difference between them?
[339 byte] By [danielwilliams] at [2007-11-18 17:32:11]
# 1 Re: Defintion of what MIDL_INTERFACE("") and DECLSPEC_UUID does.
I do not know much about this, but maybe this link (http://www.geocities.com/sahupk/Notes/CPP_VC/com.htm) will help you.

Here is a quote from that link:
"The MIDL_INTERFACE() and DECLSPEC_UUID() macros associate a GUID with a C++ class or struct, so that we can later get the GUID using the __uuidof() operator."
RussG1 at 2007-11-9 13:09:12 >