Returning structures
From: Ayhan Eren (Ayhan_at_iha.com.tr)
Date: 10/28/03
- Next message: Marco Cotroneo: "Creating file links"
- Previous message: Mathias Rauen: "Re: ChangeDisplaySettings - Maintaining Refresh Rate"
- Next in thread: Kurt Barthelmess: "Re: Returning structures"
- Reply: Kurt Barthelmess: "Re: Returning structures"
- Reply: Ayhan Eren: "Re: Returning structures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 11:17:35 +0200
I have a structure as seen below and want to fill the structure with a
function of an activex component.
PCLIP_PARAMETERS =^CLIP_PARAMETERS;
CLIP_PARAMETERS = Record
// multiplex
MuxFormat:Integer ;
MuxBitRate:DWORD ;
// video
VideoCount:integer ;
Video : array [0..MAX_VIDEO_LIST] of CLIP_VIDEO_PARAMETERS ;
// audio
AudioCount:integer ;
Audio:array [0..MAX_AUDIO_LIST] of CLIP_AUDIO_PARAMETERS;
end;
Given function ise
function GetActiveProperties(out FileName: WideString; nSize: SYSINT; var
Params: Smallint;
StreamIndex: Integer): Integer; safecall;
and Params of this function shoud return the above structure. How should I
call this function to get the structure filled.
Thanks.
Ayhan
- Next message: Marco Cotroneo: "Creating file links"
- Previous message: Mathias Rauen: "Re: ChangeDisplaySettings - Maintaining Refresh Rate"
- Next in thread: Kurt Barthelmess: "Re: Returning structures"
- Reply: Kurt Barthelmess: "Re: Returning structures"
- Reply: Ayhan Eren: "Re: Returning structures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|