Επεξεργασία

Κοινή χρήση μέσω


IVMVirtualPCEvents::OnEventLogged method

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

Receives notification that Windows Virtual PC logs an event.

Syntax

HRESULT OnEventLogged(
  [in] long logMessageID
);

Parameters

logMessageID [in]

The message identifier of the event log message that was logged.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method is called when Windows Virtual PC logs a message to the Windows event log. The client program must implement this interface method to receive notification of the vmVirtualPCEvent_EventLogged event originating from IVMVirtualPC.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows 7
Product
Windows Virtual PC
Header
VPCCOMInterfaces.h
IID
DIID_IVMVirtualPCEvents is defined as efed1ef1-3c09-41f7-a9c2-7e29fa286c9d

See also

IVMVirtualPCEvents