VirtualBox

Ignore:
Timestamp:
Dec 5, 2008 5:20:00 PM (16 years ago)
Author:
vboxsync
Message:

Main: Cleaned up the long standing const BSTR = const (OLECHAR *) on WIn32 vs (const PRunichar) * on XPCOM clash. Cleaned up BSTR/GUID macros (IN_BSTR replaces INPTR BSTR, IN_GUID replaces INPTR GUIDPARAM, OUT_GUID replaces GUIDPARAMOUT).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Performance.cpp

    r14950 r15051  
    418418}
    419419
    420 Filter::Filter(ComSafeArrayIn(INPTR BSTR, metricNames),
     420Filter::Filter(ComSafeArrayIn(IN_BSTR, metricNames),
    421421               ComSafeArrayIn(IUnknown *, objects))
    422422{
     
    449449    else
    450450    {
    451         com::SafeArray <INPTR BSTR> nameArray(ComSafeArrayInArg(metricNames));
     451        com::SafeArray <IN_BSTR> nameArray(ComSafeArrayInArg(metricNames));
    452452        if (ComSafeArrayInIsNull(objects))
    453453        {
     
    466466}
    467467
    468 void Filter::init(ComSafeArrayIn(INPTR BSTR, metricNames),
     468void Filter::init(ComSafeArrayIn(IN_BSTR, metricNames),
    469469                  ComSafeArrayIn(IUnknown *, objects))
    470470{
    471     com::SafeArray <INPTR BSTR> nameArray(ComSafeArrayInArg(metricNames));
     471    com::SafeArray <IN_BSTR> nameArray(ComSafeArrayInArg(metricNames));
    472472    com::SafeIfaceArray <IUnknown> objectArray(ComSafeArrayInArg(objects));
    473473
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette