if (DecodingSourceWbem == pInfo->DecodingSource) // MOF class
{
exit(0);
HRESULT hr = StringFromCLSID(pInfo->EventGuid, &pwsEventGuid);
if (FAILED(hr))
{
// wprintf(L"StringFromCLSID failed with 0x%x\n", hr);
status = hr;
goto cleanup;
}
// wprintf(L"\nEvent GUID: %s\n", pwsEventGuid);
CoTaskMemFree(pwsEventGuid);
pwsEventGuid = NULL;
//getchar();
//wprintf(L"Event version: %d\n", pEvent->EventHeader.EventDescriptor.Version);
//wprintf(L"Event type: %d\n", pEvent->EventHeader.EventDescriptor.Opcode);
}
这个是什么意思啊?