次の方法で共有


IRequireClasses.GetRequiredClasses(UInt32, Guid) Method

Definition

Retrieves the CLSID of a requested required class.

public:
 int GetRequiredClasses(System::UInt32 index, Guid % pclsid);
public int GetRequiredClasses (uint index, ref Guid pclsid);
abstract member GetRequiredClasses : uint32 * Guid -> int
Public Function GetRequiredClasses (index As UInteger, ByRef pclsid As Guid) As Integer

Parameters

index
UInt32

[in] Index of the class to retrieve.

pclsid
Guid

[out] The CLSID of the requested class.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From objext.idl:

[C++]

HRESULT IRequireClasses::GetRequiredClasses(  
   [in] ULONG index, CLSID* pclsid  
);  

Applies to