Changeset 32844 in vbox for trunk/include/VBox
- Timestamp:
- Sep 30, 2010 1:26:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/ptr.h
r32843 r32844 414 414 * 415 415 * { 416 * ComObjPtr<Progress> pProgress; // create the server side object417 * pProgress.createObject(); // ...418 * pProgress->init(...); // ...419 * ComPtr<IProgress> pProgress2; // create an interface pointer420 * pProgress.queryInterfaceTo(pProgress2 ); // transfer the interface416 * ComObjPtr<Progress> pProgress; // create the server side object 417 * pProgress.createObject(); // ... 418 * pProgress->init(...); // ... 419 * ComPtr<IProgress> pProgress2; // create an interface pointer 420 * pProgress.queryInterfaceTo(pProgress2.asOutParam()); // transfer the interface 421 421 * } 422 422 *
Note:
See TracChangeset
for help on using the changeset viewer.