Create a file item with the specified name.
HRESULT CreateFileItem( BSTR name, IFsiFileItem **newItem );
String that contains the name of the file item to create.
An IFsiFileItem interface of the new file item. When done, call the IFsiFileItem::Release method to release the interface.
S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:
Pointer is not valid.
The provided name is not valid.
Failed to allocate the required memory.
|Minimum supported client||Windows Vista, Windows XP with SP2 [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|