|
static
VOID
btnPCSpeaker_Visible(
RibbonElement *Element,
IDispatch *Control,
BOOL *Value
) {
XAddin* pAddin = (XAddin *)Element->Context;
*Value = pAddin->SkypeInfo.ApiStatus == SKYPECONTROLAPI_ATTACH_SUCCESS;
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
btnPCSpeaker_Label(
RibbonElement *Element,
IDispatch *Control,
LPWSTR Value,
int cch
) {
PszStringCopy(Value, cch, L"PC Speaker");
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
btnPCSpeaker_Screentip(
RibbonElement *Element,
IDispatch *Control,
LPWSTR Value,
int cch
) {
PszStringCopy(Value, cch, L"PC Speaker");
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
btnPCSpeaker_Supertip(
RibbonElement *Element,
IDispatch *Control,
LPWSTR Value,
int cch
) {
PszStringCopy(Value, cch, L"Switch PC Speaker On/Off");
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
btnPCSpeaker_ImageMso(
RibbonElement *Element,
IDispatch *Control,
LPWSTR Value,
int cch
) {
*Value = L'\0';
return;
UNREFERENCED_PARAMETER(cch);
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
btnPCSpeaker_Image(
RibbonElement *Element,
IDispatch *Control,
IDispatch **Value
) {
*Value = NULL;
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
btnPCSpeaker_Enabled(
RibbonElement *Element,
IDispatch *Control,
BOOL *Value
) {
*Value = TRUE;
return;
UNREFERENCED_PARAMETER(Control);
UNREFERENCED_PARAMETER(Element);
}
static
VOID
btnPCSpeaker_Pressed(
RibbonElement *Element,
IDispatch *Control,
BOOL *Value
) {
XAddin* pAddin = (XAddin *)Element->Context;
*Value = pAddin->GetPCSpeaker(pAddin);
return;
UNREFERENCED_PARAMETER(Control);
}
static
VOID
btnPCSpeaker_Action(
RibbonElement *Element,
IDispatch *Control
) {
XAddin* pAddin = (XAddin *)Element->Context;
pAddin->SetPCSpeaker(pAddin, !pAddin->GetPCSpeaker(pAddin));
return;
UNREFERENCED_PARAMETER(Control);
}
static
VOID
btnPCSpeaker_Action2(
RibbonElement *Element,
IDispatch *Control,
BOOL Pressed
) {
XAddin* pAddin = (XAddin *)Element->Context;
pAddin->SetPCSpeaker(pAddin, Pressed);
return;
UNREFERENCED_PARAMETER(Control);
}
|
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.