IPicture::get_KeepOriginalFormat method (ocidl.h)

Retrieves the current value of the picture's KeepOriginalFormat property.

Syntax

HRESULT get_KeepOriginalFormat(
  [out] BOOL *pKeep
);

Parameters

[out] pKeep

A pointer to a variable that receives the value of the property.

Return value

This method supports the standard return value E_FAIL, as well as the following value.

Return code Description
S_OK
The value of the KeepOriginalFormat property was returned successfully.
E_POINTER
The value of pKeep 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

IPicture

IPicture::put_KeepOriginalFormat