IPicture::get_Type method (ocidl.h)
Retrieves the current type of the picture contained in the picture object.
Syntax
HRESULT get_Type(
[out] SHORT *pType
);
Parameters
[out] pType
Pointer to a variable that receives the picture type. The Type property can have any one of the values contained in the PICTYPE enumeration.
Return value
This method supports the standard return value E_FAIL, as well as the following values.
Return code | Description |
---|---|
|
The type was returned successfully. |
|
The value of pType is not valid. For example, it may be NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for