that what i have got till now
Function Description:
Thanks in advance
Func OmPlrAttach($OM_HWND, $Pointer) ConsoleWrite($Pointer & @CRLF) $cResult = DllCall($hdll, "long:cdecl", "OmPlrAttach", "handle", $OM_HWND, "str", $Pointer, "UINT", 0, "UINT", 5) If $cResult[0] = 0 Then _ArrayDisplay($cResult) Return $cResult[2] Else ConsoleWrite("! Error Decimel Code = " & $cResult[0] & @CRLF) ConsoleWrite("! Error Verbal Description = " & OM_ReturnVerbalError($cResult[0]) & @CRLF) Return OM_ReturnVerbalError($cResult[0]) EndIf EndFunc ;==>OmPlrAttach
Function Description:
OmPlrAttach Description: Used to attach a clip to the timeline. Also used to create a new clip. OmPlrError OmPlrAttach( OmPlrHandle PlayerHandle, const TCHAR *pClipName, uint clipIn, uint clipOut, OmPlrClipHandle hPutBeforeThisClip, OmPlrShiftMode shift, OmPlrClipHandle *pClipAttachHandle); Parameters: Parameter Description: PlayerHandle: A numeric value used to reference this player. It was obtained using the function OmPlrOpen. pClipname: A pointer to anull-terminated string that gives the clip name. For non- Unicode builds, this is an 8-bit character string. For Unicode builds, this is a 16-bit character string. The clip name is case sensitive, so that “Harry” is not the same clip as “haRRy”. The argument can specify either a clip or the combination of an absolute path and a clip; see Clip Name as Function Argument for more details. The size of the argument is limited to 512. clipIn: A number that identifies the first frame of this clip to be shown (inclusive). The special value omPlrClipDefaultIn can be used; this value is defined in omplayerdefs.h. It means that the “Default In” frame value found in the stored version of the clip will be used for the clipIn value. clipOut: A number that identifies the frame after the last frame of this clip to be shown. The special value omPlrClipDefaultOut can be used; this value is defined in omplayerdefs.h. It means that the “Default Out” frame value found in the stored version of the clip will be used for the clipOut value. hPutBeforeThisClip: A numeric value that is 0 or is the OmPlrClipHandle of an already attached clip. Typically a clip will be attached at the end of the timeline after all clips that were previously attached. But you can also attach a clip in front of other clips that are already attached to the timeline. Use a value of 00 to attach at the end (i.e., to append). Use the OmPlrClipHandle value of the already attached clip if you want to attach this clip in front of the already attached clip.
Thanks in advance