Object reference, the this_ parameter passed to an class method.
reg
Name of the register to return the cast.
_offsetl
Optional parameter. Specifies an additional offset to be added to the cast.
APPENDIX F LIBRARY HELPER PROCEDURES
ComPtrAssign
The ComPtrAssignfunction assigns one COM pointer to another, performing AddRef and Release as required.