Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Truncates a protected file.
Syntax
EXTERN_C HRESULT WINAPI IpcfSetEndOfFile(
_In_ IPCF_FILE_HANDLE hFile,
_In_ DWORD64 qwOffset
);
Parameters
-
hFile [in]
-
Handle to the protected file.
This needs to be obtained from the function IpcfOpenFileOnILockBytes or IpcfOpenFileOnHandle.
-
qwOffset [in]
-
The logical offset of the file to set as EOF (end of file).
Return value
If the function succeeds, the return value is S_OK. If the function fails, it returns an HRESULT value that indicates the error.
For more information, see Error codes for a description of all RMS SDK 2.1 return values.
Requirements
| Minimum supported client |
Windows Vista with SP2 |
| Minimum supported server |
Windows Server 2008 |
| Header |
|
| Library |
|
| DLL |
|