PINSPECT_MEMORY_CALLBACK fonction de rappel (roerrorapi.h)

Fournit un pointeur de fonction vers le rappel utilisé par la fonction RoInspectCapturedStackBackTrace .

Syntaxe

PINSPECT_MEMORY_CALLBACK PinspectMemoryCallback;

HRESULT PinspectMemoryCallback(
  [in]  void *context,
  [in]  UINT_PTR readAddress,
  [in]  UINT32 length,
  [out] BYTE *buffer
)
{...}

Paramètres

[in] context

Données de contexte personnalisées fournies à la fonction RoInspectCapturedStackBackTrace .

[in] readAddress

Adresse à partir de laquelle lire les données.

[in] length

Nombre d’octets à lire, en commençant par readAddress.

[out] buffer

Mémoire tampon qui reçoit une copie des octets lus.

Valeur retournée

Si cette fonction de rappel réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

   
Client minimal pris en charge Windows 8.1 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 R2 [applications de bureau uniquement]
Plateforme cible Windows
En-tête roerrorapi.h

Voir aussi

RoInspectCapturedStackBackTrace