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

CBaseInputPin::NotifyAllocator

NotifyAllocator 메서드는, 접속의 할당자를 지정한다. 이 메서드는 IMemInputPin::NotifyAllocator 메서드를 처리 한다.

구문

HRESULT NotifyAllocator(
    IMemAllocator *pAllocator,
    BOOL bReadOnly
);

파라미터

pAllocator

할당자의 IMemAllocator 인터페이스의 포인터.

bReadOnly

이 할당자로부터의 샘플이 읽기 전용인지 아닌지를 지정하는 플래그. TRUE 의 경우, 샘플은 읽기 전용이다.

반환값

S_OK 를 돌려준다.

주의

핀이 접속하고 있는 동안, 출력 핀은 할당자를 선택해, 이 메서드를 호출해 입력 핀에 통지한다. 출력 핀은 입력 핀이 IMemInputPin::GetAllocator 메서드로 제공한 할당자를 사용하는지, 출력 핀 자신의 할당자를 제공할 수 있다.

참조

↑TOP