Share via


AtlUnescapeUrl

Call this function to convert escaped characters back to their original values.

inline BOOL AtlUnescapeUrl( 
   LPCSTR szStringIn, 
   LPSTR szStringOut, 
   LPDWORD pdwStrLen, 
   DWORD dwMaxLength  
) throw( ); 
inline BOOL AtlUnescapeUrl( 
   LPCWSTR szStringIn, 
   LPWSTR szStringOut, 
   LPDWORD pdwStrLen, 
   DWORD dwMaxLength  
) throw( );

Parameters

  • lpszStringIn
    The URL to be converted.

  • lpszStringOut
    Caller-allocated buffer to which the converted URL will be written.

  • pdwStrLen
    Pointer to a DWORD variable. If the function succeeds, the variable receives the number of characters written to the buffer not including the terminating null character. If the function fails, the variable receives the required length in bytes of the buffer including space for the terminating null character.

  • dwMaxLength
    The size of the buffer lpszStringOut.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

Reverses the conversion process applied by AtlEscapeUrl.

Requirements

Header: atlutil.h

See Also

Reference

AtlEscapeUrl

Other Resources

Active Template Library (ATL) Concepts

ATL COM Desktop Components

ATL Functions Alphabetical Reference