Uredi

Deli z drugimi prek


IIUnknownStrategy.CreateInstancePointer(Void*) Method

Definition

Creates an instance pointer that represents the specified IUnknown instance.

public:
 void* CreateInstancePointer(void* unknown);
public void* CreateInstancePointer (void* unknown);
abstract member CreateInstancePointer : nativeptr<unit> -> nativeptr<unit>

Parameters

unknown
Void*

The IUnknown instance.

Returns

Void*

A pointer representing the unmanaged instance.

Remarks

This method is used to create an instance pointer that can be used to interact with the other members of this interface. For example, this method can return an IAgileReference instance for the provided IUnknown instance. The IAgileReference can be used in the QueryInterface and Release methods to enable creating thread-local instance pointers to use through the IAgileReference APIs instead of directly calling QueryInterface on the IUnknown.

Applies to