HRESULT SetTypeFlags(
unsigned int uTypeFlags
);
Sets type flags of the type description being created.
The return value of the returned HRESULT is one of the following:
| Return value | Meaning |
|---|---|
| S_OK | Success. |
| STG_E_INSUFFICIENTMEMORY | Out of memory. |
| E_OUTOFMEMORY | Out of memory. |
| E_INVALIDARG | One or more of the arguments is invalid. |
| E_ACCESSDENIED | Cannot write to the destination. |
| TYPE_E_WRONGTYPEKIND | Type mismatch. |
Use SetTypeFlags to set the flags for the type description. For details, see the "TYPEFLAGS" section in Chapter 9, "Type Description Interfaces."