Export (0) Print
Expand All
Expand Minimize

CHttpRequest::GetUrl 

Call this method to retrieve the value of the "URL" server variable.


BOOL GetUrl(
   CStringA& str 
) throw( );
BOOL GetUrl(
   LPSTR szBuff,
   DWORD * pdwSize 
) throw(...);

Parameters

str

A reference to a CString that will receive the string on successful return of this method.

szBuff

A pointer to a caller-allocated buffer that will receive the string on successful return of this method.

pdwSize

[in, out] On entry, pdwSize should point to a DWORD that indicates the size of the buffer in bytes. On exit, the DWORD contains the number of bytes transferred or available to be transferred into the buffer (including the null-terminating byte).

Returns TRUE on success, FALSE on failure. Call GetLastError to get extended error information.

Call this method to retrieve a null-terminated string containing the value of the "URL" server variable.

Community Additions

ADD
Show:
© 2014 Microsoft