ComPtrAssign PROC

pp:DWORD,// reference of variable to receive a pointer

lp:DWORD// reference to existing COM pointer

Parameters

pp

reference of variable to receive a pointer.

lp

reference to existing COM pointer. May be NULL to release pp

Return Value

None.

See Also

 

 


ComQIPtrAssign

The ComQIPtrAssignfunction performs a QueryInterface on one COM pointer, and assigns the resulting pointer, performing AddRef and Release as required.