次の方法で共有


ICreateTypeInfo::SetImplTypeFlags (Compact 2013)

3/26/2014

This method sets the attributes for an implemented or inherited interface of a type.

Syntax

HRESULT SetImplTypeFlags( 
  unsigned int index, 
  int implTypeFlags
);

Parameters

  • index
    [in] Index of the interface for which to set type flags.
  • implTypeFlags
    [in] IMPLTYPEFLAGS that specifies which flags are to be set.

Return Value

The following table shows the return values for this function.

Value

Description

S_OK

Success.

STG_E_INSUFFICIENTMEMORY

Out of memory.

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

One or more of the parameters is invalid.

E_ACCESSDENIED

Cannot write to the destination.

Remarks

SetImplTypeFlags sets the IMPLTYPEFLAGS for the indexed interface.

Requirements

Header

oaidl.h,
oaidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Reference

ICreateTypeInfo
IMPLTYPEFLAGS