feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Argument to SHCreateItemFromParsingName is incorrect

Open mseld2 opened this issue 5 years ago • 2 comments

Describe the bug There's an error in the argument to SHCreateItemFromParsingName in the document.

To Reproduce Steps to reproduce the behavior:

  1. Go to: https://docs.microsoft.com/en-us/windows/win32/api/shobjidl/nf-shobjidl-istartmenupinnedlist-removefromlist

Expected behavior Highlighted part should be TEXT(L"Path to the shortcut"). The parameter type is PCWSTR.

Screenshots doc_error

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version [e.g. 22]

mseld2 avatar Jul 04 '20 03:07 mseld2

Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).

welcome[bot] avatar Jul 04 '20 03:07 welcome[bot]

This is not valid and can be closed. The TEXT macro will append L if UNICODE is defined, or nothing otherwise.

riverar avatar Nov 16 '24 20:11 riverar