Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Create a new log instance on the specified file. If a file with that name already exists, it is overwritten.
Syntax
HRESULT InitNew(
[in] LPCWSTR filename,
[in] ULONG cbCapacityHint
);
Parameters
[in] filename
The absolute path of the file to be created.
[in] cbCapacityHint
A hint to the implementation about the total capacity that will be needed.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | txlogpub.h |