Reference

TakeOwnershipOfFile(3w)

NAME

TakeOwnershipOfFile (SETUPAPI.@)

SYNOPSIS

DWORD TakeOwnershipOfFile
(
LPCWSTR lpFileName
)

DESCRIPTION

Takes the ownership of the given file.

PARAMS

lpFileName [In] Name of the file.

RETURNS

Success: ERROR_SUCCESS

Failure: other

IMPLEMENTATION

Declared in "setupapi.h".

Implemented in "dlls/setupapi/misc.c".

Debug channel "setupapi".

History