Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
UI proxy helper dll
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Muku  
View profile  
 More options Jun 9 2008, 11:48 am
Newsgroups: microsoft.public.windowsce.platbuilder
From: Muku <mukeshk...@gmail.com>
Date: Mon, 9 Jun 2008 08:48:04 -0700 (PDT)
Local: Mon, Jun 9 2008 11:48 am
Subject: UI proxy helper dll
Can any one suggest me any example for using UI proxy helper dll..

Thanks in Advance

regards
Muku


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luca Calligaris  
View profile  
 More options Jun 10 2008, 1:13 am
Newsgroups: microsoft.public.windowsce.platbuilder
From: "Luca Calligaris" <anonym...@discussions.microsoft.com>
Date: Tue, 10 Jun 2008 07:13:39 +0200
Local: Tues, Jun 10 2008 1:13 am
Subject: Re: UI proxy helper dll
There's no example, anyway it's quite simple:

You have to write a DLL which exports a function which complies with this
definition:

typedef BOOL (*PFN_UIENTRYPOINT)(
  LPVOID lpInBuffer,
  DWORD nInBufferSize,
  LPVOID lpOutBuffer,
  DWORD nOutBufferSize,
  PDWORD pBytesReturned
);

For example, suppose you write kmsgbox.dll which exports the following:

extern "C" BOOL KMessageBox(
  LPVOID lpInBuffer,
  DWORD nInBufferSize,
  LPVOID lpOutBuffer,
  DWORD nOutBufferSize,
  PDWORD pBytesReturned
)
{
 return (BOOL)MessageBox(NULL,(LPCTSTR)lpInBuffer,_T("TEST"),MB_OK);

}

Then from kernel mode you can call:

CeCallUserProc(_T("kmsgbox.dll"),_T("KMessageBox"),...);

To show the Message Box;

Notice that, although the docs do not specify it:

* you can not pass a NULL lpInBuffer parameter to CeCallUserProc
** nInBufferSize parameter can not be greater than nOutBufferSize

--

Luca Calligaris
www.eurotech.it

"Muku" <mukeshk...@gmail.com> ha scritto nel messaggio
news:dd110f1b-d19f-478f-baef-37fc58557f30@s21g2000prm.googlegroups.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google