Microsoft DirectX 9.0 |
The SetEditProperty method defines parameters and values associated with an edit event.
Syntax
HRESULT SetEditProperty(
long EditID,
long Param,
long Value
);
Parameters
EditID
[in] Specifes the edit property set. Use the identifier returned by the IAMExtTransport::SetEditPropertySet method.
Param
[in] Specifies the edit event parameter. See Remarks for more information.
Value
[in] Specifies the value of the parameter. See Remarks for more information.
Return Values
When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
Remarks
An edit event consists of one or more edit event parameters. Use the SetEditPropertySet method to create an edit event, and then use this method to specify the edit event parameters for that edit event.
The Param parameter is a flag that specifies the edit event parameter. The Value parameter specifies the value of that parameter. The meaning of Value depends on the flag used in Param:
Constant | Description |
ED_EDIT_MODE_ASSEMBLE | Assemble edit mode. |
ED_EDIT_MODE_INSERT | Insert edit mode. |
ED_EDIT_MODE_CRASH_RECORD | Crash record mode. |
Constant | Description |
ED_VIDEO | Video track |
ED_AUDIO_1 through ED_AUDIO_24 | Audio tracks 1 through 24 |
ED_AUDIO_ALL | All audio track |
Constant | Description |
ED_EDIT_BVB | Black-video-black (BVB). Display black, then inserted video, then black. |
ED_EDIT_VBV | Video-black-video (VBV). Display recorded video, then black, then recorded video. |
ED_EDIT_VVV | Video-video-video (VVV). Display recorded video, then inserted video, then recorded video. |
ED_EDIT_PERFORM | Do not preview. |
Constant | Description |
ED_EDIT_SEEK_EDIT_IN | Seek to the inpoint. |
ED_EDIT_SEEK_EDIT_OUT | Seek to the outpoint. |
ED_EDIT_SEEK_PREROLL | Seek to the inpoint preroll. |
ED_EDIT_SEEK_PREROLL_CT | Seek to the inpoint using timecode, then seek back to the preroll point using the control track. |
ED_EDIT_SEEK_BOOKMARK | Seek to the next bookmark. |
DV Implementation
MSDV does not support this method. It returns E_NOTIMPL.
See Also