|
//---------------------------------------------------------------------------
#ifndef AudioSwitcherH
#define AudioSwitcherH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TAudioSwitch : public TForm
{
__published: // IDE-managed Components
private:
bool SetDefaultEndpoint(HWND defaultButton,bool Action);
public:
HWND appletWindow;
char *AppletName;
char *OkButton;
char *DefButton;
char *Selected;
char *GetPropName(int PropIndex);
bool ChangeAudioDevice(int Toggle,int Index);
void errorBox(char *err);
__fastcall TAudioSwitch(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TAudioSwitch *AudioSwitch;
//---------------------------------------------------------------------------
#endif
|
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.
Used to own a software development enterprise from the late 70's to the mid 90's, worked as systems analyst/programmer in that enterprise