Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

PerUserInit function

[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.


void PerUserInit(void);


This function has no parameters.

Return value

This function does not return a value.


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.


Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]




Mydocs.dll (version 6.0 or later)



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.