CopyC++
IMPLEMENT_XLLFN3(OperIsPresentExample, OperIsPresentExample_4,
OperIsPresentExample_12, "RP", "UQ", L"OperIsPresentExample", 0, L"Arg1", 0,
L"Example", 0, L"Demonstrates COper::IsPresent()", 0, L"Argument 1\0", 0, 0,
L"{OperIsPresentExample,,,Demonstrates COper::IsPresent(),Example,1,128,U,"
L"{{0,{Arg1,Value,0,,Argument 1,,,,}}},{},3,,0,0}", 1)
CXlOper* OperIsPresentExample_Impl(CXlOper&, const CXlOper*);
extern "C" __declspec(dllexport)
LPXLOPER12 OperIsPresentExample_12(LPXLOPER12 Arg1)
{
XLL_FIX_STATE;
CXlOper xloResult, Arg1__port(Arg1);
try {
CXlStructuredExceptionHandler _seh_;
xloResult.HandleResult(OperIsPresentExample_Impl(xloResult, &Arg1__port
));
}
catch(const CXlRuntimeException& ex) {
CXllApp::Instance()->DisplayException(xloResult, ex);
}
return xloResult.Ret12();
}
extern "C" __declspec(dllexport)
LPXLOPER4 OperIsPresentExample_4(LPXLOPER4 Arg1)
{
XLL_FIX_STATE;
CXlOper xloResult, Arg1__port(Arg1);
try {
CXlStructuredExceptionHandler _seh_;
xloResult.HandleResult(OperIsPresentExample_Impl(xloResult, &Arg1__port
));
}
catch(const CXlRuntimeException& ex) {
CXllApp::Instance()->DisplayException(xloResult, ex);
}
return xloResult.Ret4();
}
CXlOper* OperIsPresentExample_Impl(CXlOper& xloResult, const CXlOper* Arg1)
{
xloResult = Arg1->IsPresent();
return xloResult.Ret();
}
Uses
CXlOper::IsPresent