共用方式為


METADATA_HANDLE_INFO

The METADATA_HANDLE_INFO structure contains information about a handle to a metabase entry.

typedef struct _METADATA_HANDLE_INFO {  
  DWORD dwMDPermissions;  
  DWORD dwMDSystemChangeNumber;  
} METADATA_HANDLE_INFO;  

Members

  • dwMDPermissions
    Specifies the permissions with which the handle was opened. This member can have one or more of the following flags.

    Value

    Description

    METADATA_PERMISSION_READ

    The handle can read keys and data.

    METADATA_PERMISSION_WRITE

    The handle can write keys and data.

  • dwMDSystemChangeNumber
    Specifies the system change number when the handle was opened. This number indicates how many times changes were made to data since the metabase was created. This value is saved to disk between metabase sessions.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in Mddefw.h; include iiscnfg.h, iadmw.h.