Changeset 99828 in vbox for trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredentialProvider.cpp
- Timestamp:
- May 17, 2023 1:48:57 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredentialProvider.cpp
r98103 r99828 69 69 { 70 70 /** The actual method name the subscription is for. */ 71 c har *pszMethod;71 const char *pszMethod; 72 72 /** A friendly name for the subscription. */ 73 c har *pszSubscriptionName;73 const char *pszSubscriptionName; 74 74 /** The actual subscription UUID. 75 75 * Should not be changed. */ 76 c har *pszSubscriptionUUID;76 const char *pszSubscriptionUUID; 77 77 } g_aSENSEvents[] = { 78 78 { "Logon", "VBoxCredProv SENS Logon", "{561D0791-47C0-4BC3-87C0-CDC2621EA653}" }, … … 284 284 break; 285 285 286 hr = g_pIEventSystem->Store( PROGID_EventSubscription, (IUnknown*)pIEventSubscription);286 hr = g_pIEventSystem->Store((BSTR)PROGID_EventSubscription, (IUnknown*)pIEventSubscription); 287 287 if (FAILED(hr)) 288 288 break; … … 346 346 AssertContinue(SUCCEEDED(hr)); /* keep going */ 347 347 int iErrorIdX; 348 hr = g_pIEventSystem->Remove( PROGID_EventSubscription, bstrSubToRemove.raw(), &iErrorIdX);348 hr = g_pIEventSystem->Remove((BSTR)PROGID_EventSubscription, bstrSubToRemove.raw(), &iErrorIdX); 349 349 if (FAILED(hr)) 350 350 {
Note:
See TracChangeset
for help on using the changeset viewer.