IAFS_FileSys::GetVolumeSpace Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT GetVolumeSpace([in]                      IAFS_Name*  pName,
                       [out]                     LONGLONG*   nTotalBytes,
                       [out]                     LONGLONG*   nTotalFreeBytes,
                       [out]                     LONGLONG*   nFreeBytesAvailable,
                       [in, defaultvalue(NULL)]  IString*    pErrDetails,
                       [in, defaultvalue(NULL)]  IFlag*      pCancelFlag);

Parameters

pName
[in] Pointer to IAFS_Name.
nTotalBytes
[out] Pointer to LONGLONG.
nTotalFreeBytes
[out] Pointer to LONGLONG.
nFreeBytesAvailable
[out] Pointer to LONGLONG.
pErrDetails
[in, defaultvalue(NULL)] Pointer to IString.
pCancelFlag
[in, defaultvalue(NULL)] Pointer to IFlag.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IAFS_FileSys