IAPI::GetJpegFileInfo

property GetJpegFileInfo.

Fetches main information fields from a photo/jpg file, which are:

 

         . Camera Maker

         . Camera Model

         . Date

         . Time

         . Color: Yes | No

         . Flash used: Yes | No

 

HRESULT GetJpegFileInfo (
  BSTR JpegFilename,
  BSTR *pVal
);

Parameters

JpegFilename

[in] .   JPEG full filename

pVal

[out, retval]

The returned value is BSTR if succeeded or empty BSTR.

Each field value is separated with a newline character (C: "\n") or (VB: Chr(10))

 

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI