mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
599 B
29 lines
599 B
// This is a special value that is used internally for marshaling interfaces
|
|
#define VT_INTERFACE (VT_CLSID+1)
|
|
|
|
#define IfFailGo(expression, label) \
|
|
{ hresult = (expression); \
|
|
if(FAILED(hresult)) \
|
|
goto label; \
|
|
}
|
|
|
|
#define IfFailRet(expression) \
|
|
{ HRESULT hresult = (expression); \
|
|
if(FAILED(hresult)) \
|
|
return hresult; \
|
|
}
|
|
|
|
|
|
HRESULT
|
|
VarVtOfTypeDesc(ITypeInfo FAR* ptinfo,
|
|
TYPEDESC FAR* ptdesc,
|
|
VARTYPE FAR* pvt,
|
|
GUID FAR* pguid);
|
|
|
|
HRESULT
|
|
VarVtOfUDT(ITypeInfo FAR* ptinfo,
|
|
TYPEDESC FAR* ptdesc,
|
|
VARTYPE FAR* pvt,
|
|
GUID FAR* pguid);
|
|
|
|
|