IPicture::get_Type
Returns the current type of the picture contained in the picture object.
HRESULT get_Type(
short* ptype
|
//Receives a pointer to the picture type
|
);
|
|
Parameters
-
ptype
-
[out] Pointer to the caller’s short variable to receive the picture
type. The Type property can have any one of the values contained in the PICTYPE
enumeration.
Return Values
This method supports the standard return value E_FAIL, as well as the
following:
-
S_OK
-
The type was returned successfully.
-
E_POINTER
-
The address in ptype is not valid. For example, it may be NULL.
See Also
OleCreatePictureIndirect,
PICTYPE