OleSetFileFormat

  OLESTATUS OleSetFileFormat(lhclientdoc, filever)    
  LHCLIENTDOC lhclientdoc;    
  LONG filever;    

The OleSetFileFormat function sets the file version for an OLE document.

Parameters

lhclientdoc

Identifies the document which is to have its file version changed.

filever

Specifies the file version to be set to. This parameter must be one of the following values:

OS_WIN16 OS_WIN32

Return Value

If the function is successful, the return value is OLE_OK. Otherwise, it is OLE_ERROR_FILE_VER.

Comments

It is only necessary to call this function if the default of OS_WIN32 is needed to be overridden to OS_WIN16