Add helper functions to safely release Windows COM resources, and arrays of COM resources.
Add helper functions to safely release Windows COM resources, and arrays of COM resources.

TRAC #22656

Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill

git-svn-id: 7288974629ec06eaf04ee103a0a5f761b9efd9a5@2076 736b8ea6-26fd-11df-bfd4-992fa37f6226

MIPS/external-chromium_org-third_party-angle,MIPS/external-chromium_org-third_party-angle,ppy/angle,ppy/angle,xin3liang/platform_external_chromium_org_third_party_angle,mrobinson/rust-angle,jgcaaprom/android_external_chromium_org_third_party_angle,mrobinson/rust-angle,mybios/angle,jgcaaprom/android_external_chromium_org_third_party_angle,MSOpenTech/angle,vvuk/angle,xin3liang/platform_external_chromium_org_third_party_angle,ecoal95/angle,vvuk/angle,android-ia/platform_external_chromium_org_third_party_angle,mikolalysenko/angle,csa7mdm/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,ghostoy/angle,ecoal95/angle,crezefire/angle,mlfarrell/angle,ecoal95/angle,ppy/angle,mikolalysenko/angle,mybios/angle,mlfarrell/angle,MIPS/external-chromium_org-third_party-angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,android-ia/platform_external_chromium_org_third_party_angle,nandhanurrevanth/angle,ecoal95/angle,larsbergstrom/angle,bsergean/angle,larsbergstrom/angle,csa7mdm/angle,nandhanurrevanth/angle,vvuk/angle,ppy/angle,mrobinson/rust-angle,crezefire/angle,mybios/angle,crezefire/angle,domokit/waterfall,mrobinson/rust-angle,MIPS/external-chromium_org-third_party-angle,xin3liang/platform_external_chromium_org_third_party_angle,mybios/angle,MSOpenTech/angle,nandhanurrevanth/angle,mikolalysenko/angle,ghostoy/angle,larsbergstrom/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,jgcaaprom/android_external_chromium_org_third_party_angle,nandhanurrevanth/angle,bsergean/angle,csa7mdm/angle,ghostoy/angle,larsbergstrom/angle,ghostoy/angle,crezefire/angle,bsergean/angle,mikolalysenko/angle,mrobinson/rust-angle,android-ia/platform_external_chromium_org_third_party_angle,android-ia/platform_external_chromium_org_third_party_angle,MSOpenTech/angle,MSOpenTech/angle,domokit/waterfall,csa7mdm/angle,vvuk/angle,jgcaaprom/android_external_chromium_org_third_party_angle,xin3liang/platform_external_chromium_org_third_party_angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,mlfarrell/angle,ecoal95/angle,bsergean/angle,mlfarrell/angle