Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than aygshell, prefix the name with the module name and a period.
DMProcessConfigXML (aygshell)
aygshell is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for DMProcessConfigXML in other DLLs exists, click on Find References to the right.
[DllImport("coredll.dll", EntryPoint = "??_V@YAXPAXABUnothrow_t@std@@@Z")]
static extern void DeleteArray(IntPtr ptr, IntPtr junk);
public static CONFIG_E DMProcessConfigXML(
string xml, CFGFlags flags, out string resultXml) {
CONFIG_E result;
unsafe {
char* xmlOutPointer;
result = DMProcessConfigXML(xml, flags, out xmlOutPointer);
resultXml = new string(xmlOutPointer);
DeleteArray((IntPtr)xmlOutPointer, IntPtr.Zero);
}
return result;
}
!!!!User-Defined Types:
public enum CFGFlags : uint {
Process = 0x0001,
Metadata = 0x0002,
}
public enum CONFIG_E : uint {
Ok = 0x00000000,
ObjectBusy = 0x80042001,
CancelTimeout = 0x80042002,
EntryNotFound = 0x80042004,
ProcessingCanceled = 0x00042005,
CspException = 0x80042007,
TransactioningFailure = 0x80042008,
BadXml = 0x80042009,
}
!!!!Alternative Managed API:
Microsoft.SmartDevice.Connectivity.Device.ProvisionDevice(string, Device.ConfigActions), although
it is a desktop managed method and only works remotely, whereas this P/Invoke can be executed directly
on the device.
!!!!Notes:
None.
!!!!Tips & Tricks:
Please add some!
!!!!Sample Code:
Please add some!
Documentation: DMProcessConfigXML@msdn on MSDN
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
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).