Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Developer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-27-2005, 06:37 AM
Neophyte
Join Date: Dec 2006
Posts: 1
Default PhoneOpenCallLog function throws an exception

There is some problem with PhoneOpenCallLog function whenever i use it, it throws an exception.....might be possible that m not using it in the correct way plz help me... M writing the following code......



#include <windows.h>
#include <windowsx.h>
#include <aygshell.h>
#include <Phone.h>
#include "resource.h"

HRESULT result;
HANDLE hPhoneOpenCallLog;
HANDLE *ph;

int WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPWSTR lpCmdLine,
int nCmdShow
)
{
DWORD sizset = 0;
PCALLLOGENTRY pCallLogEntry;
sizset = sizeof(CALLLOGENTRY);

pCallLogEntry->cbSize = sizset;
pCallLogEntry->fOutgoing = 1;
result = PhoneOpenCallLog(ph);
PhoneGetCallLogEntry(ph,pCallLogEntry);
MessageBox(NULL,(const unsigned short *)pCallLogEntry-
>fOutgoing,NULL,1);
PhoneCloseCallLog (ph);
return 0;
}
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tasks function not working on Smartphone (Cingular 2125) adamhochman Windows Phone Software 1 10-27-2006 02:45 AM


All times are GMT +1. The time now is 07:08 PM.



Search Engine Friendly URLs by vBSEO 3.6.0