René's URL Explorer Experiment


Title: cpp-docs/docs/dotnet/com-ptr-class.md at master · https-microsoft-com-powershell/cpp-docs · GitHub

Open Graph Title: cpp-docs/docs/dotnet/com-ptr-class.md at master · https-microsoft-com-powershell/cpp-docs

X Title: cpp-docs/docs/dotnet/com-ptr-class.md at master · https-microsoft-com-powershell/cpp-docs

Description: C++ Documentation. Contribute to https-microsoft-com-powershell/cpp-docs development by creating an account on GitHub.

Open Graph Description: C++ Documentation. Contribute to https-microsoft-com-powershell/cpp-docs development by creating an account on GitHub.

X Description: C++ Documentation. Contribute to https-microsoft-com-powershell/cpp-docs development by creating an account on GitHub.

Opengraph URL: https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:372b641f-246f-84e4-8b7f-8b1f5797280c
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idA526:512E3:2921ABE:39298D4:6A4F027E
html-safe-nonce7899aa57c3cd58a04aa5454aa9d30e8198199438c33211ba56775337a697c40b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTI2OjUxMkUzOjI5MjFBQkU6MzkyOThENDo2QTRGMDI3RSIsInZpc2l0b3JfaWQiOiI0MzE4Nzc0NzkwMDAzNzU5MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7b30870ced082388e0ddc451ab3d7b97f7fc2e8489c23dea39e8f2c95590c35f
hovercard-subject-tagrepository:386793986
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md
twitter:imagehttps://opengraph.githubassets.com/9faaffeacc54a4de7fe0da5393cc1790adf7524257c4eccaec09bafd21ed5460/https-microsoft-com-powershell/cpp-docs
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9faaffeacc54a4de7fe0da5393cc1790adf7524257c4eccaec09bafd21ed5460/https-microsoft-com-powershell/cpp-docs
og:image:altC++ Documentation. Contribute to https-microsoft-com-powershell/cpp-docs development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/https-microsoft-com-powershell/cpp-docs git https://github.com/https-microsoft-com-powershell/cpp-docs.git
octolytics-dimension-user_id56871438
octolytics-dimension-user_loginhttps-microsoft-com-powershell
octolytics-dimension-repository_id386793986
octolytics-dimension-repository_nwohttps-microsoft-com-powershell/cpp-docs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id73740405
octolytics-dimension-repository_parent_nwoMicrosoftDocs/cpp-docs
octolytics-dimension-repository_network_root_id73740405
octolytics-dimension-repository_network_root_nwoMicrosoftDocs/cpp-docs
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhttps-microsoft-com-powershell%2Fcpp-docs%2Fblob%2Fmaster%2Fdocs%2Fdotnet%2Fcom-ptr-class.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhttps-microsoft-com-powershell%2Fcpp-docs%2Fblob%2Fmaster%2Fdocs%2Fdotnet%2Fcom-ptr-class.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=https-microsoft-com-powershell%2Fcpp-docs
Reloadhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md
Reloadhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md
Reloadhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md
Please reload this pagehttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md
https-microsoft-com-powershell https://github.com/https-microsoft-com-powershell
cpp-docshttps://github.com/https-microsoft-com-powershell/cpp-docs
MicrosoftDocs/cpp-docshttps://github.com/MicrosoftDocs/cpp-docs
Notifications https://github.com/login?return_to=%2Fhttps-microsoft-com-powershell%2Fcpp-docs
Fork 0 https://github.com/login?return_to=%2Fhttps-microsoft-com-powershell%2Fcpp-docs
Star 0 https://github.com/login?return_to=%2Fhttps-microsoft-com-powershell%2Fcpp-docs
Code https://github.com/https-microsoft-com-powershell/cpp-docs
Pull requests 0 https://github.com/https-microsoft-com-powershell/cpp-docs/pulls
Actions https://github.com/https-microsoft-com-powershell/cpp-docs/actions
Projects https://github.com/https-microsoft-com-powershell/cpp-docs/projects
Security and quality 0 https://github.com/https-microsoft-com-powershell/cpp-docs/security
Insights https://github.com/https-microsoft-com-powershell/cpp-docs/pulse
Code https://github.com/https-microsoft-com-powershell/cpp-docs
Pull requests https://github.com/https-microsoft-com-powershell/cpp-docs/pulls
Actions https://github.com/https-microsoft-com-powershell/cpp-docs/actions
Projects https://github.com/https-microsoft-com-powershell/cpp-docs/projects
Security and quality https://github.com/https-microsoft-com-powershell/cpp-docs/security
Insights https://github.com/https-microsoft-com-powershell/cpp-docs/pulse
https://github.com/https-microsoft-com-powershell/cpp-docs
cpp-docshttps://github.com/https-microsoft-com-powershell/cpp-docs/tree/master
docshttps://github.com/https-microsoft-com-powershell/cpp-docs/tree/master/docs
dotnethttps://github.com/https-microsoft-com-powershell/cpp-docs/tree/master/docs/dotnet
Historyhttps://github.com/https-microsoft-com-powershell/cpp-docs/commits/master/docs/dotnet/com-ptr-class.md
https://github.com/https-microsoft-com-powershell/cpp-docs/commits/master/docs/dotnet/com-ptr-class.md
cpp-docshttps://github.com/https-microsoft-com-powershell/cpp-docs/tree/master
docshttps://github.com/https-microsoft-com-powershell/cpp-docs/tree/master/docs
dotnethttps://github.com/https-microsoft-com-powershell/cpp-docs/tree/master/docs/dotnet
Rawhttps://github.com/https-microsoft-com-powershell/cpp-docs/raw/refs/heads/master/docs/dotnet/com-ptr-class.md
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#comptr-class
CComPtr classhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/atl/reference/ccomptr-class.md
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#syntax
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#parameters
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks
Tracking reference operatorhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/extensions/tracking-reference-operator-cpp-component-extensions.md
Handle to object operator (^)https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/extensions/handle-to-object-operator-hat-cpp-component-extensions.md
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#members
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#public-constructors
ptr::ptrhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#ptr
ptr::~ptrhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#tilde-ptr
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#public-methods
ptr::Attachhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#attach
ptr::CreateInstancehttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#createInstance
ptr::Detachhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#detach
ptr::GetInterfacehttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#getInterface
ptr::QueryInterfacehttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#queryInterface
ptr::Releasehttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#release
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#public-operators
ptr::operator->https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#operator-arrow
ptr::operator=https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#operator-assign
ptr::operator boolhttps://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#operator-bool
ptr::operator!https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#operator-logical-not
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#requirements
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrptr
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#parameters-1
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-1
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-1
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrptr-1
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-2
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-2
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrattach
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#parameters-2
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#exceptions
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-3
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-3
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrcreateinstance
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#parameters-3
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#exceptions-1
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-4
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-4
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrdetach
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#return-value
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#exceptions-2
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-5
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-5
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrgetinterface
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#return-value-1
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#exceptions-3
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-6
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-6
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrqueryinterface
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#parameters-4
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#exceptions-4
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-7
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-7
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptrrelease
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-8
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-8
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptroperator-
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#return-value-2
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#exceptions-5
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-9
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-9
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptroperator
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#parameters-5
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#return-value-3
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#exceptions-6
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-10
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-10
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptroperator-bool
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#return-value-4
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-11
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-11
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#-ptroperator-1
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#return-value-5
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#remarks-12
https://github.com/https-microsoft-com-powershell/cpp-docs/blob/master/docs/dotnet/com-ptr-class.md#example-12
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.