Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ezfit:clarujust:ezorange_api [2009/11/19 17:06] smayr |
ezfit:clarujust:ezorange_api [2009/11/20 16:52] (current) smayr |
||
---|---|---|---|
Line 4: | Line 4: | ||
=== API 3.6 === | === API 3.6 === | ||
<code vb> | <code vb> | ||
- | NOTE: All returns are Error Codes | + | '// |
+ | function SetInterface(ProgIntfIdx: | ||
+ | function GetInterface(var ProgIntfIdx: | ||
+ | |||
+ | '//--- Not used by Clarujust --- | ||
function SetEar(EarSideIdx: | function SetEar(EarSideIdx: | ||
function GetEar(): Integer; safecall; | function GetEar(): Integer; safecall; | ||
- | function GetEars(var EarCount: Integer) : Integer; safecall; | ||
- | |||
function SetMemory(MemIdx: | function SetMemory(MemIdx: | ||
function GetMemory(): | function GetMemory(): | ||
- | |||
- | function SetInterface(ProgIntfIdx: | ||
- | function GetInterface(var Live: Integer): Integer; safecall; | ||
- | |||
- | // Not used by Clarujust | ||
function SetHAInitialize(): | function SetHAInitialize(): | ||
function SetHARead(): | function SetHARead(): | ||
Line 22: | Line 19: | ||
function SetHABurn(): | function SetHABurn(): | ||
function SetHAClose(): | function SetHAClose(): | ||
- | function GetHAInitialized(var IsInitialized: | ||
procedure SetParams(Params: | procedure SetParams(Params: | ||
- | function GetParams: OleVariant; safecall; | + | function GetParams: OleVariant; safecall; |
- | procedure LaunchClarujustApp(); | + | procedure LaunchClarujustApp(); |
+ | '//--- Debugging --- | ||
function SetSilentErrors(Silent: | function SetSilentErrors(Silent: | ||
function GetSilentErrors(): | function GetSilentErrors(): | ||
+ | '//--- Bump, Tilt, and Gain --- | ||
function SetBumpQ(BumpQIdx: | function SetBumpQ(BumpQIdx: | ||
function GetBumpQ(var BumpQIdx: Integer, var BumpQVal: Single): Integer; safecall; | function GetBumpQ(var BumpQIdx: Integer, var BumpQVal: Single): Integer; safecall; | ||
Line 51: | Line 49: | ||
| | ||
+ | '//--- Revised functionality --- | ||
function SetAudiogram(AnAudiogram: | function SetAudiogram(AnAudiogram: | ||
- | function GetAudiogram(var | + | function GetAudiogram(var |
- | function SetSerialNumber(SerialNum: | + | function SetSerialNumber(SerialNum: |
- | function GetSerialNumber(var SerialNumber: | + | function GetSerialNumber(var SerialNumber: |
- | // New functionality | + | '//--- New functionality |
- | function ApplySettings: | + | |
function Setup60(): Integer; safecall; | function Setup60(): Integer; safecall; | ||
function Setup80(): Integer; safecall; | function Setup80(): Integer; safecall; | ||
+ | function ApplySettings: | ||
+ | function GetHAInitialized(var IsInitialized: | ||
+ | function GetEarCount(var EarCount: Integer) : Integer; safecall; | ||
</ | </ |