|
static
VOID
labelLoggedOnStatus_Visible(
RibbonElement *Element,
IDispatch *Control,
BOOL *Value
) {
XAddin* pAddin = (XAddin *)Element->Context;
*Value = pAddin->SkypeInfo.ApiStatus != SKYPECONTROLAPI_ATTACH_UNDEFINED;
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
labelLoggedOnStatus_Label(
RibbonElement *Element,
IDispatch *Control,
LPWSTR Value,
int cch
) {
XAddin* pAddin = (XAddin *)Element->Context;
if(pAddin->GetSkypeLoggedOnUser(pAddin) != NULL) {
PszStringCopy(Value,
cch,
L"Logged on as"
);
}
else {
PszStringCopy(Value,
cch,
L"Not logged on"
);
}
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.