IMFTimecodeTranslate::EndConvertTimecodeToHNS method (mfidl.h)

Completes an asynchronous request to convert time in Society of Motion Picture and Television Engineers (SMPTE) time code to 100-nanosecond units.

Syntax

HRESULT EndConvertTimecodeToHNS(
  [in]  IMFAsyncResult *pResult,
  [out] MFTIME         *phnsTime
);

Parameters

[in] pResult

Pointer to the IMFAsyncResult interface. Pass in the same pointer that your callback object received in the IMFAsyncCallback::Invoke method.

[out] phnsTime

Receives the converted time.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Call this method after the IMFTimecodeTranslate::BeginConvertTimecodeToHNS method completes asynchronously.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also

Calling Asynchronous Methods

IMFTimecodeTranslate

MFTIME