# SHGetRealIDL

### C# Signature:

```cs
/// <summary>
/// SHGetRealIDL converts a simple PIDL to a full PIDL.
/// </summary>
/// <param name="psf">[in] Pointer to an instance of IShellFolder whose simple pointer to an item identifier list (PIDL) is to be converted.</param>
/// <param name="pidlSimple">[in] The simple PIDL to be converted.</param>
/// <param name="pidlReal">[out] Pointer to the full converted PIDL. If the function fails, this parameter is set to NULL.</param>
/// <returns>Returns S_OK if successful, or an error value otherwise. </returns>
[DllImport("shell32.dll")]
public static extern IntPtr SHGetRealIDL(
               IShellFolder        psf,
            IntPtr            pidlSimple,
            out IntPtr        pidlReal ) ;
```

### VB Signature:

```cs
Declare Function SHGetRealIDL Lib "shell32.dll" (TODO) As TODO
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pinvokeisalive.gitbook.io/pinvoke/desktopfunctions/shell32/shgetrealidl.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
