__uuidof

Microsoft and C++ Specific —>

__uuidof ( expression )

The __uuidof keyword retrieves the GUID attached to the expression. The expression can be a type name, a pointer, reference, or array of that type, a template specialized on these types, or a variable of these types. The argument is valid as long as the compiler can use it to find the attached GUID.

A special case of this intrinsic is when either 0 or NULL is supplied as argument. In this case, __uuidof will return a GUID made up of zeros.

Use this keyword to extract the GUID attached to an object by the uuid extended attribute.

END Microsoft and C++ Specific