Skip to content

Latest commit

 

History

History
63 lines (53 loc) · 2.18 KB

nf-shlobj-peruserinit.md

File metadata and controls

63 lines (53 loc) · 2.18 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shlobj.PerUserInit
PerUserInit function (shlobj.h)
Creates My Documents and other special folders, initializes them as needed, and creates the Send To shortcut menu item for My Documents.
PerUserInit
PerUserInit function [Windows Shell]
_win32_PerUserInit
shell.PerUserInit
shlobj/PerUserInit
shell\PerUserInit.htm
shell
08ce75e9-3316-4967-925e-25b15fc97aa0
12/05/2018
PerUserInit, PerUserInit function [Windows Shell], _win32_PerUserInit, shell.PerUserInit, shlobj/PerUserInit
shlobj.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Mydocs.dll (version 6.0 or later)
Windows
19H1
PerUserInit
shlobj/PerUserInit
c++
APIRef
kbSyntax
DllExport
Mydocs.dll
PerUserInit

PerUserInit function

-description

[This function is available through Windows XP with Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]

Creates My Documents and other special folders, initializes them as needed, and creates the Send To shortcut menu item for My Documents.

-remarks

Applications do not need to call this function because the operating system already does so.

This function does not have an associated header or library file so it must be called by ordinal value. Call LoadLibrary with the DLL name Mydocs.dll to obtain a module handle. Then call GetProcAddress with that module handle and the ordinal number 7 to use this function.