Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Returns the PDATA data block associated with the virtual address.

HRESULT pdataForVA( 
   DWORD      cbData,
   DWORD*     pcbData,
   BYTE*      pbData


[in] Specifies the virtual address of the data to obtain.


[in] The size of data in bytes to obtain.


[out] Returns the actual size of data in bytes that was obtained.


[in, out] A buffer that is filled in with the requested data. Cannot be NULL.

If successful, returns S_OK. Returns S_FALSE if there is no PDATA for the specified address. Otherwise, returns an error code.

The PDATA (the section named ".pdata") of a compiland contains information about exception handling for functions.

The caller knows how much data is to be returned so the caller has no need to ask for how much data is available. Therefore, it is acceptable for an implementation of this method to return an error if the pbData parameter is NULL.

Community Additions

© 2015 Microsoft