QueryInfo method

Gets information related to the specified URL.


HRESULT retVal = object.QueryInfo(pwzUrl, OueryOption, dwQueryFlags, pBuffer, cbBuffer, pcbBuf, dwReserved);


  • pwzUrl [in]
    Type: LPCWSTR

    A string value that contains the URL.

  • OueryOption [in]
    Type: [QUERYOPTION](ms775139(v=vs.85).md)

    A QUERYOPTION value that indicates what option to query.

  • dwQueryFlags [in]
    Type: DWORD

    Reserved. Must be set to 0.

  • pBuffer [in, out]
    Type: LPVOID

    A pointer to the buffer to store the information.

  • cbBuffer [in]
    Type: DWORD

    A unsigned long integer value that contains the size of the buffer.

  • pcbBuf [in, out]
    Type: DWORD

    A pointer to an unsigned long integer variable to store the size of the requested information.

  • dwReserved [in]
    Type: DWORD

    Reserved. Must be set to 0.

See also