Condividi tramite


IDebugObject:: SetValue

Imposta il valore dell'oggetto da una serie consecutiva di byte.

HRESULT SetValue( 
   BYTE* pValue,
   UINT  nSize
);
int SetValue(
   byte[] pValue, 
   uint   nSize
);

Parametri

  • pValue
    [in] Una matrice di byte che rappresenta il nuovo valore.

  • nSize
    [in] La dimensione del valore in byte.

Valore restituito

Se l'operazione riesce, restituisce S_OK, in caso contrario, restituisce un codice di errore.

Note

I valori nella matrice vengono copiati in IDebugObject questo oggetto, sostituendo il valore esistente. La dimensione di un nuovo valore può essere maggiore o minore del valore esistente. questo IDebugObject non può essere un riferimento Null.

Vedere anche

Riferimenti

IDebugObject

IDebugObject:: GetValue