COM Wrapper for IWPFileInfo. More...

List of all members.

Public Member Functions

HRESULT Name ([out, retval] BSTR *pName)
HRESULT sizeHigh ([out, retval] ULONG *pSizeHigh)
HRESULT sizeLow ([out, retval] ULONG *pSizeLow)
HRESULT lastModificationTime ([out, retval] DATE *pLastModTime)
HRESULT fileAttribute ([out, retval] ULONG *pFileAttr)
HRESULT Create ([in] BSTR strName,[in] ULONG dwArrtibutes,[in] ULONG nSizeHigh,[in] ULONG nSizeLow,[in] DATE modTime)


Detailed Description

COM Wrapper for IWPFileInfo.

This interface is implemented by WPFileInfo to wrap IWPFileInfo for Scripting clients to access properties of a file.


Member Function Documentation

HRESULT IWPFileInfo::Create [in] BSTR  strName,
[in] ULONG  dwArrtibutes,
[in] ULONG  nSizeHigh,
[in] ULONG  nSizeLow,
[in] DATE  modTime
 

Instantiate a file.

Parameters:
strName File name string.
dwArrtibutes File attributes.
nSizeHigh High DWORD of size.
nSizeLow Low DWORD of size.
modTime DATE of last modification time.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IWPFileInfo::fileAttribute [out, retval] ULONG *  pFileAttr  ) 
 

Get the file's attribute.

Parameters:
pFileAttr File attribute.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IWPFileInfo::lastModificationTime [out, retval] DATE *  pLastModTime  ) 
 

Get the file's last modification time.

Parameters:
pLastModTime DATE of last modification time.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IWPFileInfo::Name [out, retval] BSTR *  pName  ) 
 

Get the file's name.

Parameters:
pName Name string.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IWPFileInfo::sizeHigh [out, retval] ULONG *  pSizeHigh  ) 
 

Get the file's size (high DWORD).

Parameters:
pSizeHigh High DWORD of size.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IWPFileInfo::sizeLow [out, retval] ULONG *  pSizeLow  ) 
 

Get the file's size (low DWORD).

Parameters:
pSizeLow Low DWORD of size.
Return values:
S_OK Success.
Remarks:
None.