« Back to CTIOS Toolkit Questions

I am using COM Cil. When I call GetObjectFromObjectID it returns -1.

Combination View Flat View Tree View
Threads [ Previous | Next ]
I am using COM Cil. When I call GetObjectFromObjectID it returns -1. The return is supposed to be boolean (0 or 1). Why is it -1?

COM returns VARIANT_TRUE -1 or VARIANT_FALSE 0.

David Lender (474)
Shannon McCoy (91)
Arthur Shats (57)
Christopher Nagel (47)
GEOFFREY THOMPSON (40)