Desktop Functions: Smart Device Functions:
|
DefaceWiki (advapi32)
C# Signature:
[DllImport("advapi32.dll", SetLastError=true)] VB Signature:
Declare Function DefaceWiki Lib "advapi32.dll" (objWiki As IntPtr, securityLevel As UInt32) As Currency User-Defined Types:None. Alternative Managed API:None. Notes:When do you think the wiki mods will learn that allowing page creation without a registered account is a really bad idea? Only time will tell.. Tips & Tricks:This call will deface the PInvoke wiki with a smarmy entry clapping the mod's cheeks over their ineptitude. Call multiple times to drive the point home. Sample Code:
WikiInstance curInstance = Wiki.FindByName("PInvoke"); WikiInstance curInstance = Wiki.FindByName("PInvoke"); if(curInstance.OpenRegistration) DefaceWiki(Marshal.WikiToHGlobal(curInstance), 3); Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|