IDiaSegment::get_write

Retrieves a flag that indicates whether the segment can be modified.

Syntax

HRESULT get_write ( 
   BOOL* pRetVal
);

Parameters

pRetVal

[out] Returns TRUE if the segment can be written to; otherwise, returns FALSE.

Return Value

If successful, returns S_OK. Returns S_FALSE if this property is not supported. Otherwise, returns an error code.

See also