Applies to: desktop apps only
Sets the maximum number of blocks available for the image.
Syntax
HRESULT put_FreeMediaBlocks( [in] LONG newVal );
Parameters
- newVal [in]
-
Number of blocks to use in creating the file system image.
By default, 332,800 blocks are used to create the file system image. This value assumes a capacity of 74 minutes of audio per 650MB disc.
To specify an infinite number of block, set newVal to zero.
Return value
S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:
| Return code | Description |
|---|---|
|
Value specified for FreeMediaBlocks property is too small for estimated image size based on current data. Value: 0xC0AAB121 |
Requirements
|
Minimum supported client | Windows Vista, Windows XP with SP2 |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
IDL |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012