Click to return to the Security     
Antivirus Structures     Antivirus Structures    
Web Workshop  |  Security & Cryptography

MSOAVINFO Structure


Contains information about the file to be scanned.

Syntax

typedef struct_msoavinfo{
    int cbSize;
    struct {
              ULONG fPath:1;
              ULONG fReadOnlyRequest:1;
              ULONG fInstalled:1;
              ULONG fHttpDownload:1;
             }
    HWND hWnd;
    union {
             WCHAR *pwzFullPath;
             LPSTORAGE lpStg;
            }u;
    WCHAR *pwzHostName;
    WCHAR *pwzOrigURL;
} MSOAVINFO;  

Members

cbSize
Integer value that specifies the size of an MSOAVINFO structure.
fPath
Unsigned long integer value that determines whether to use pwzFullPath or lpstg. If fPath is set to TRUE, use pwzFullPath. Otherwise use lpstg.
fReadOnlyRequest
Unsigned long integer value that specifies whether the file is to be opened as a read-only file.
fInstalled
Unsigned long integer value that indicates whether the file specified by pwzFullPath is an installed file.
fHttpDownload
Unsigned long integer value that indicates whether the file specified by pwzFullPath is a temporary file downloaded from HTTP/FTP.
hWnd
Handle to the parent window of the Microsoft® Office 2000 application.
pwzFullPath
Address of a wide character string that contains the full path of the file about to be opened.
lpStg
Address of the OLE storage location of the file about to be opened.
pwzHostName
Address of a wide character string that contains the host application name for the antivirus scanner user interface.
pwzOrigURL
Address of a wide character string that contains the URL of the origin of a downloaded file.

Structure Information

Windows NT Use version 4.0. Implemented as ANSI and Unicode structures.
Windows Use Windows 95 and later. Implemented as ANSI and Unicode structures.
Header Msoav.h
Minimum availability Internet Explorer 5


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.