Win32 API 日本語リファレンス
ホームGraphics.CompositionSwapchain › IPresentationManager

IPresentationManager

COM
IIDfb562f82-6292-470a-88b1-843661e7f20c継承元IUnknown自前メソッド開始 vtbl3

メソッド 13

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtblメソッド
3HRESULT AddBufferFromResource(IUnknown* resource, IPresentationBuffer** presentationBuffer)
4HRESULT CreatePresentationSurface(HANDLE compositionSurfaceHandle, IPresentationSurface** presentationSurface)
5ULONGLONG GetNextPresentId()
6HRESULT SetTargetTime(SystemInterruptTime targetTime)
7HRESULT SetPreferredPresentDuration(SystemInterruptTime preferredDuration, SystemInterruptTime deviationTolerance)
8HRESULT ForceVSyncInterrupt(BYTE forceVsyncInterrupt)
9HRESULT Present()
10HRESULT GetPresentRetiringFence(GUID* riid, void** fence)
11HRESULT CancelPresentsFrom(ULONGLONG presentIdToCancelFrom)
12HRESULT GetLostEvent(HANDLE* lostEventHandle)
13HRESULT GetPresentStatisticsAvailableEvent(HANDLE* presentStatisticsAvailableEventHandle)
14HRESULT EnablePresentStatisticsKind(PresentStatisticsKind presentStatisticsKind, BYTE enabled)
15HRESULT GetNextPresentStatistics(IPresentStatistics** nextPresentStatistics)