Jump to content

Recommended Posts

Hi,

 

the next version will become a complete new support for Encoder-Boxes, like the Hauppauge PVR. We tried to add support for all boxes of these kind. Some of them don't have direct IR Transmitter support, so i decided to outsource Blaster support into dlls.

 

The API is similar to the regular plugin API we use since more than a decade:

 

 

 

function LibTyp: PAnsiChar; stdcall;
begin
result := 'Blaster';
end;
function PluginName: PAnsiChar; stdcall;
begin
result := 'Sample IR Blaster';
end;
function Copyright: PAnsiChar; stdcall;
begin
result := 'Christian Hackbart';
end;
function Version: PAnsiChar; stdcall;
begin
result := '1.0.0';
end;
function SetChannel(Channel: Integer): HRESULT; stdcall;
begin
result := NOERROR;
end;
procedure ShowSettings(Handle: Integer); stdcall;
begin
end;

__stdcall char* LibTyp()
{
return "Blaster";
}
__stdcall char* PluginName()
{
return "Sample IR Blaster";
}
__stdcall char* Copyright()
{
return "Christian Hackbart";
}
__stdcall char* Version()
{
return "1.0.0";
}
__stdcall HRESULT SetChannel(int Channel)
{
return NOERROR;
}
__stdcall void ShowSettings(int Handle)
{
}

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...