DirectShow DirectShow 레퍼런스 DirectShow base class base class 레퍼런스 CBaseInputPin GetAllocatorRequirements   [목차열람] [주소복사] [슬롯비우기]
CBaseInputPin::GetAllocatorRequirements
 
Microsoft DirectX 9.0

CBaseInputPin::GetAllocatorRequirements

GetAllocatorRequirements 메서드는, 입력 핀이 요구한 할당자 프로퍼티를 얻어온다.

구문

HRESULT GetAllocatorRequirements(
    ALLOCATOR_PROPERTIES *pProps
);

파라미터

pProps

요구가 써넣어지는 ALLOCATOR_PROPERTIES 구조체의 포인터.

반환값

E_NOTIMPL 를 돌려준다.

주의

출력 핀이 메모리 할당자를 초기화 할 때 이 메서드를 호출해 입력 핀이 버퍼 요구를 가지고 있을지 어떨지를 확인할 수 있다. 더 자세한 정보는, 「CBaseOutputPin::DecideAllocator 」를 참조할것.

이 메서드의 처리은 임의이다. 필터에 고유의 alignment나 프레픽스의 요건이 있는 경우는, 이 메서드를 오버라이드(override) 하는 것.

참조

↑TOP