다음을 통해 공유


ComWrappers.GetIUnknownImpl(IntPtr, IntPtr, IntPtr) 메서드

정의

런타임에 제공된 IUnknown 구현을 가져옵니다.

protected:
 static void GetIUnknownImpl([Runtime::InteropServices::Out] IntPtr % fpQueryInterface, [Runtime::InteropServices::Out] IntPtr % fpAddRef, [Runtime::InteropServices::Out] IntPtr % fpRelease);
public:
 static void GetIUnknownImpl([Runtime::InteropServices::Out] IntPtr % fpQueryInterface, [Runtime::InteropServices::Out] IntPtr % fpAddRef, [Runtime::InteropServices::Out] IntPtr % fpRelease);
protected static void GetIUnknownImpl (out IntPtr fpQueryInterface, out IntPtr fpAddRef, out IntPtr fpRelease);
public static void GetIUnknownImpl (out IntPtr fpQueryInterface, out IntPtr fpAddRef, out IntPtr fpRelease);
static member GetIUnknownImpl : nativeint * nativeint * nativeint -> unit
Protected Shared Sub GetIUnknownImpl (ByRef fpQueryInterface As IntPtr, ByRef fpAddRef As IntPtr, ByRef fpRelease As IntPtr)
Public Shared Sub GetIUnknownImpl (ByRef fpQueryInterface As IntPtr, ByRef fpAddRef As IntPtr, ByRef fpRelease As IntPtr)

매개 변수

fpQueryInterface
IntPtr

nativeint

QueryInterface에 대한 함수 포인터입니다.

fpAddRef
IntPtr

nativeint

AddRef에 대한 함수 포인터입니다.

fpRelease
IntPtr

nativeint

Release에 대한 함수 포인터입니다.

설명

이러한 IUnknown 함수의 런타임 구현은 모두 스레드로부터 안전합니다. 각 규칙을 최적화하고 에 대한 IUnknownCOM 규칙을 엄격히 따릅니다. 구현은 QueryInterface 인터페이스도 준수합니다 ICustomQueryInterface . 인터페이스는 ICustomQueryInterface 런타임에서 제공하는 인터페이스를 재정의할 기회가 없습니다. 예를 들어 기본적으로 런타임은 인터페이스 및 선택적으로 참조 추적기 인터페이스를 IReferenceTrackerTarget 제공합니다IUnknown.

적용 대상